Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_latest_Buildings_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/Buildings 10.0.0-master/package.mo): time 2.552/2.552, allocations: 390.4 MB / 397.7 MB, free: 11.28 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 190.8 kB / 490.8 MB, free: 1.969 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.68/1.68, allocations: 221.3 MB / 0.7863 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 94.92 kB / 0.9264 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7499/0.7511, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/1.079, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.161/6.239, allocations: 1.971 GB / 3.182 GB, free: 364.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/6.24, allocations: 87.95 kB / 3.183 GB, free: 364.5 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 1.995/8.235, allocations: 0.6317 GB / 3.814 GB, free: 154.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/8.235, allocations: 12 kB / 3.814 GB, free: 154.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002992/8.238, allocations: 405.6 kB / 3.815 GB, free: 154.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003827/8.242, allocations: 1.218 MB / 3.816 GB, free: 152.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.38e-05/8.242, allocations: 32 kB / 3.816 GB, free: 152.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002901/8.242, allocations: 64 kB / 3.816 GB, free: 152.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001808/8.244, allocations: 0.7108 MB / 3.817 GB, free: 152 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/8.246, allocations: 0.9447 MB / 3.817 GB, free: 151 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.824e-05/8.246, allocations: 11.83 kB / 3.817 GB, free: 151 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/8.247, allocations: 4 kB / 3.817 GB, free: 151 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.782e-05/8.247, allocations: 38 kB / 3.817 GB, free: 151 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008039/8.255, allocations: 5.122 MB / 3.823 GB, free: 145.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/8.256, allocations: 0.6369 MB / 3.823 GB, free: 144.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004443/8.256, allocations: 325 kB / 3.823 GB, free: 144.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005645/8.257, allocations: 307.9 kB / 3.824 GB, free: 144.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/8.257, allocations: 43.22 kB / 3.824 GB, free: 144.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 3.667e-06/8.257, allocations: 0 / 3.824 GB, free: 144.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001946/8.259, allocations: 0.7486 MB / 3.824 GB, free: 143.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/8.259, allocations: 162.9 kB / 3.825 GB, free: 143.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000949/8.26, allocations: 0.5962 MB / 3.825 GB, free: 142.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/8.26, allocations: 29.7 kB / 3.825 GB, free: 142.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/8.26, allocations: 407.4 kB / 3.826 GB, free: 142.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/8.26, allocations: 244.4 kB / 3.826 GB, free: 142 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/8.261, allocations: 3.938 kB / 3.826 GB, free: 141.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.692e-05/8.261, allocations: 334 kB / 3.826 GB, free: 141.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/8.261, allocations: 229.5 kB / 3.826 GB, free: 141.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005077/8.261, allocations: 462 kB / 3.827 GB, free: 140.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006632/8.262, allocations: 369.3 kB / 3.827 GB, free: 140.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/8.262, allocations: 0 / 3.827 GB, free: 140.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001409/8.264, allocations: 0.8224 MB / 3.828 GB, free: 139.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004733/8.264, allocations: 1.658 MB / 3.83 GB, free: 137.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/8.264, allocations: 4 kB / 3.83 GB, free: 137.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.419e-05/8.264, allocations: 8 kB / 3.83 GB, free: 137.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/8.266, allocations: 275.6 kB / 3.83 GB, free: 137.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/8.267, allocations: 1.345 MB / 3.831 GB, free: 136.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/8.268, allocations: 103.4 kB / 3.831 GB, free: 136 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/8.268, allocations: 39.92 kB / 3.831 GB, free: 136 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/8.268, allocations: 8 kB / 3.831 GB, free: 136 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001226/8.27, allocations: 0.6814 MB / 3.832 GB, free: 135.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/8.27, allocations: 8.5 kB / 3.832 GB, free: 135.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/8.27, allocations: 12 kB / 3.832 GB, free: 135.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/8.271, allocations: 259.7 kB / 3.832 GB, free: 135 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/8.272, allocations: 1.357 MB / 3.834 GB, free: 133.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/8.273, allocations: 103.5 kB / 3.834 GB, free: 133.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.406e-05/8.274, allocations: 35.98 kB / 3.834 GB, free: 133.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * 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.0002279/8.274, allocations: 131 kB / 3.834 GB, free: 133.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/8.274, allocations: 106.7 kB / 3.834 GB, free: 133.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/8.276, allocations: 0.7995 MB / 3.835 GB, free: 132.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/8.276, allocations: 11.98 kB / 3.835 GB, free: 132.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/8.276, allocations: 0 / 3.835 GB, free: 132.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001286/8.277, allocations: 0.7416 MB / 3.836 GB, free: 131.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003323/8.281, allocations: 1.874 MB / 3.837 GB, free: 129.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/8.281, allocations: 0 / 3.837 GB, free: 129.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008052/8.281, allocations: 163.9 kB / 3.837 GB, free: 129.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004123/8.282, allocations: 40.83 kB / 3.838 GB, free: 129.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.587e-05/8.282, allocations: 11.98 kB / 3.838 GB, free: 129.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/8.283, allocations: 1.322 MB / 3.839 GB, free: 128 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/8.283, allocations: 4 kB / 3.839 GB, free: 128 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001934/8.285, allocations: 1.336 MB / 3.84 GB, free: 126.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002678/8.288, allocations: 2.2 MB / 3.842 GB, free: 124.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000484/8.288, allocations: 251.7 kB / 3.843 GB, free: 124 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/8.288, allocations: 8 kB / 3.843 GB, free: 124 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007741/8.289, allocations: 63.84 kB / 3.843 GB, free: 123.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.224e-05/8.289, allocations: 40.53 kB / 3.843 GB, free: 123.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.066e-05/8.289, allocations: 28 kB / 3.843 GB, free: 123.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005823/8.29, allocations: 464 kB / 3.843 GB, free: 123.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004044/8.294, allocations: 1.107 MB / 3.844 GB, free: 122.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,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 (70): * Single equations (assignments): 69 * 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.002935/8.297, allocations: 1.996 MB / 3.846 GB, free: 120.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003437/8.3, allocations: 1.184 MB / 3.847 GB, free: 119 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/8.3, allocations: 4 kB / 3.847 GB, free: 119 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006735/8.301, allocations: 426.2 kB / 3.848 GB, free: 118.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/8.303, allocations: 406.4 kB / 3.848 GB, free: 118.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003873/8.307, allocations: 1.7 MB / 3.85 GB, free: 116.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/8.308, allocations: 1.273 MB / 3.851 GB, free: 115.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.292e-06/8.308, allocations: 0 / 3.851 GB, free: 115.1 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)