Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6909/0.6909, allocations: 127.4 MB / 134.6 MB, free: 4.094 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 189.3 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.1 MB / 399.1 MB, free: 6.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001221/0.00122, allocations: 90.83 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4025/0.4038, allocations: 82.88 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.6632, allocations: 76.75 MB / 0.621 GB, free: 13.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.694/6.357, allocations: 2.204 GB / 2.825 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/6.358, allocations: 97.5 kB / 2.825 GB, free: 6.332 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 2.863/9.221, allocations: 0.6185 GB / 3.443 GB, free: 110.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.602e-05/9.221, allocations: 11.62 kB / 3.443 GB, free: 110.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003736/9.225, allocations: 398.1 kB / 3.444 GB, free: 110.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004026/9.229, allocations: 0.9691 MB / 3.445 GB, free: 110 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/9.229, allocations: 34.31 kB / 3.445 GB, free: 110 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005018/9.229, allocations: 67.22 kB / 3.445 GB, free: 110 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002776/9.232, allocations: 0.7288 MB / 3.445 GB, free: 110 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003331/9.236, allocations: 0.9665 MB / 3.446 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.028e-05/9.236, allocations: 1.094 kB / 3.446 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001969/9.236, allocations: 2.125 kB / 3.446 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.079e-05/9.236, allocations: 36.53 kB / 3.446 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01047/9.246, allocations: 5.06 MB / 3.451 GB, free: 106.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/9.248, allocations: 0.6765 MB / 3.452 GB, free: 106.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007666/9.249, allocations: 318 kB / 3.452 GB, free: 106.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008813/9.25, allocations: 403.5 kB / 3.453 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.804e-05/9.25, allocations: 46.06 kB / 3.453 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 4.328e-06/9.25, allocations: 1.406 kB / 3.453 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.003449/9.254, allocations: 0.793 MB / 3.453 GB, free: 106.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/9.254, allocations: 166.8 kB / 3.454 GB, free: 106.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/9.255, allocations: 0.5927 MB / 3.454 GB, free: 106 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001817/9.256, allocations: 31.08 kB / 3.454 GB, free: 105.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005584/9.256, allocations: 427.4 kB / 3.455 GB, free: 105.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003623/9.257, allocations: 231.1 kB / 3.455 GB, free: 105.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/9.257, allocations: 1.406 kB / 3.455 GB, free: 105.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.727e-05/9.257, allocations: 332.6 kB / 3.455 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005369/9.257, allocations: 248.8 kB / 3.455 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007288/9.258, allocations: 469.3 kB / 3.456 GB, free: 104.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009907/9.259, allocations: 387.1 kB / 3.456 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/9.259, allocations: 2.219 kB / 3.456 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002196/9.261, allocations: 0.8612 MB / 3.457 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000548/9.262, allocations: 1.572 MB / 3.459 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/9.262, allocations: 4.219 kB / 3.459 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.65e-05/9.262, allocations: 11.94 kB / 3.459 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001953/9.264, allocations: 276.1 kB / 3.459 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/9.265, allocations: 1.344 MB / 3.46 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/9.267, allocations: 110.2 kB / 3.46 GB, free: 101.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/9.267, allocations: 37.84 kB / 3.46 GB, free: 101.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/9.267, allocations: 3.406 kB / 3.46 GB, free: 101.2 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001691/9.269, allocations: 0.702 MB / 3.461 GB, free: 101 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/9.269, allocations: 7.156 kB / 3.461 GB, free: 101 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/9.269, allocations: 7.5 kB / 3.461 GB, free: 101 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/9.27, allocations: 260.5 kB / 3.461 GB, free: 101 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/9.272, allocations: 1.346 MB / 3.463 GB, free: 99.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/9.273, allocations: 89.09 kB / 3.463 GB, free: 99.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/9.273, allocations: 32.38 kB / 3.463 GB, free: 99.62 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (senLatEnt.i_x,senLatEnt1.i_x,PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003311/9.274, allocations: 128.5 kB / 3.463 GB, free: 99.49 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005122/9.274, allocations: 104.7 kB / 3.463 GB, free: 99.44 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002705/9.277, allocations: 0.8132 MB / 3.464 GB, free: 99.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/9.277, allocations: 7.281 kB / 3.464 GB, free: 99.12 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/9.277, allocations: 3.438 kB / 3.464 GB, free: 99.12 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001847/9.279, allocations: 0.7548 MB / 3.464 GB, free: 98.76 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005104/9.284, allocations: 1.879 MB / 3.466 GB, free: 97.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/9.284, allocations: 5.75 kB / 3.466 GB, free: 97.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/9.285, allocations: 162.3 kB / 3.466 GB, free: 97.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000585/9.286, allocations: 43.53 kB / 3.467 GB, free: 97.86 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/9.286, allocations: 10.91 kB / 3.467 GB, free: 97.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/9.288, allocations: 1.321 MB / 3.468 GB, free: 96.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/9.288, allocations: 3.844 kB / 3.468 GB, free: 96.58 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003247/9.291, allocations: 1.375 MB / 3.469 GB, free: 95.86 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004834/9.296, allocations: 2.251 MB / 3.471 GB, free: 94.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009567/9.297, allocations: 252.2 kB / 3.472 GB, free: 94.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004556/9.297, allocations: 4.531 kB / 3.472 GB, free: 94.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/9.299, allocations: 80.73 kB / 3.472 GB, free: 94.28 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/9.299, allocations: 35.56 kB / 3.472 GB, free: 94.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.528e-05/9.299, allocations: 23.19 kB / 3.472 GB, free: 94.27 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001179/9.3, allocations: 470.8 kB / 3.472 GB, free: 94.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.006411/9.306, allocations: 1.119 MB / 3.473 GB, free: 93.39 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005107/9.312, allocations: 2.049 MB / 3.475 GB, free: 92.79 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005692/9.317, allocations: 1.318 MB / 3.477 GB, free: 92.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/9.317, allocations: 0.9688 kB / 3.477 GB, free: 92.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001412/9.319, allocations: 435.3 kB / 3.477 GB, free: 92.08 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004023/9.323, allocations: 422.4 kB / 3.477 GB, free: 92 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00908/9.332, allocations: 1.71 MB / 3.479 GB, free: 91.33 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003451/9.335, allocations: 1.274 MB / 3.48 GB, free: 90.59 MB / 0.6511 GB Notification: Performance of SimCode: time 2.544e-06/9.335, allocations: 0.7812 kB / 3.48 GB, free: 90.59 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)