Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Airvolumes_Examples_MixingVolumeMoistAirFlexible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Airvolumes_Examples_MixingVolumeMoistAirFlexible",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/BuildingSystems 2.0.0-master/package.mo): time 0.7762/0.7762, allocations: 141.8 MB / 149.1 MB, free: 12.13 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 186.5 kB / 181.9 MB, free: 8.914 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 221.3 MB / 436 MB, free: 1.273 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009321/0.0009322, allocations: 95.66 kB / 0.507 GB, free: 10.17 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001928/0.001928, allocations: 273.2 kB / 0.5884 GB, free: 6.992 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2178/0.2198, allocations: 89.64 MB / 0.676 GB, free: 13.26 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.6684, allocations: 82.76 MB / 0.7568 GB, free: 138.2 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.206/4.875, allocations: 1.881 GB / 2.638 GB, free: 130.8 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/4.875, allocations: 91.94 kB / 2.638 GB, free: 130.7 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 1.077/5.952, allocations: 329.2 MB / 2.959 GB, free: 72.8 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/5.952, allocations: 13.25 kB / 2.959 GB, free: 72.79 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/5.954, allocations: 183.1 kB / 2.96 GB, free: 72.61 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/5.955, allocations: 0.5209 MB / 2.96 GB, free: 72.05 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/5.955, allocations: 12 kB / 2.96 GB, free: 72.04 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.723e-05/5.955, allocations: 27.91 kB / 2.96 GB, free: 72.01 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000529/5.956, allocations: 285.4 kB / 2.96 GB, free: 71.73 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005249/5.956, allocations: 310.1 kB / 2.961 GB, free: 71.42 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/5.956, allocations: 0 / 2.961 GB, free: 71.42 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/5.956, allocations: 0 / 2.961 GB, free: 71.42 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/5.956, allocations: 12.78 kB / 2.961 GB, free: 71.41 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/5.958, allocations: 1.569 MB / 2.962 GB, free: 69.71 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/5.959, allocations: 219 kB / 2.963 GB, free: 69.49 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/5.959, allocations: 132.8 kB / 2.963 GB, free: 69.36 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001917/5.959, allocations: 102.4 kB / 2.963 GB, free: 69.24 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/5.959, allocations: 42.56 kB / 2.963 GB, free: 69.19 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=25): time 2.494e-06/5.959, allocations: 3.984 kB / 2.963 GB, free: 69.18 MB / 0.6982 GB Notification: Performance of matching and sorting (n=25): time 0.0007669/5.96, allocations: 285 kB / 2.963 GB, free: 68.9 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/5.96, allocations: 59.34 kB / 2.963 GB, free: 68.83 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/5.96, allocations: 321.1 kB / 2.963 GB, free: 68.5 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/5.96, allocations: 25.7 kB / 2.963 GB, free: 68.47 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 9.68e-05/5.96, allocations: 208.1 kB / 2.964 GB, free: 68.26 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 6.999e-05/5.96, allocations: 90.69 kB / 2.964 GB, free: 68.17 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.395e-05/5.961, allocations: 0 / 2.964 GB, free: 68.17 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 9.178e-05/5.961, allocations: 346.8 kB / 2.964 GB, free: 67.82 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/5.961, allocations: 88.53 kB / 2.964 GB, free: 67.73 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/5.961, allocations: 179.3 kB / 2.964 GB, free: 67.52 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/5.961, allocations: 115.4 kB / 2.964 GB, free: 67.41 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/5.961, allocations: 3.906 kB / 2.964 GB, free: 67.41 MB / 0.6982 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004218/5.962, allocations: 307.6 kB / 2.965 GB, free: 67.1 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001646/5.962, allocations: 0.7081 MB / 2.965 GB, free: 66.34 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/5.962, allocations: 0 / 2.965 GB, free: 66.34 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/5.962, allocations: 4 kB / 2.965 GB, free: 66.34 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/5.962, allocations: 55.92 kB / 2.965 GB, free: 66.28 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/5.962, allocations: 15.83 kB / 2.965 GB, free: 66.27 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/5.963, allocations: 31.83 kB / 2.966 GB, free: 66.23 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/5.963, allocations: 16 kB / 2.966 GB, free: 66.22 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 8.717e-06/5.963, allocations: 4 kB / 2.966 GB, free: 66.21 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003385/5.963, allocations: 240.8 kB / 2.966 GB, free: 65.98 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/5.963, allocations: 0 / 2.966 GB, free: 65.98 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.691e-06/5.963, allocations: 4 kB / 2.966 GB, free: 65.98 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/5.963, allocations: 59.92 kB / 2.966 GB, free: 65.92 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/5.963, allocations: 15.88 kB / 2.966 GB, free: 65.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004586/5.964, allocations: 31.89 kB / 2.966 GB, free: 65.87 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/5.964, allocations: 16 kB / 2.966 GB, free: 65.86 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001012/5.964, allocations: 109.4 kB / 2.966 GB, free: 65.74 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.738e-05/5.964, allocations: 47.44 kB / 2.966 GB, free: 65.7 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00043/5.964, allocations: 269.3 kB / 2.966 GB, free: 65.43 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/5.964, allocations: 4 kB / 2.966 GB, free: 65.43 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/5.964, allocations: 3.938 kB / 2.966 GB, free: 65.42 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003189/5.965, allocations: 478.7 kB / 2.967 GB, free: 64.89 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/5.966, allocations: 0.829 MB / 2.968 GB, free: 64 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/5.966, allocations: 0 / 2.968 GB, free: 64 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/5.966, allocations: 72.08 kB / 2.968 GB, free: 63.93 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/5.966, allocations: 3.906 kB / 2.968 GB, free: 63.93 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/5.966, allocations: 8 kB / 2.968 GB, free: 63.92 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/5.966, allocations: 7.938 kB / 2.968 GB, free: 63.91 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/5.966, allocations: 0 / 2.968 GB, free: 63.91 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000546/5.967, allocations: 0.5603 MB / 2.968 GB, free: 63.3 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008736/5.968, allocations: 1.116 MB / 2.969 GB, free: 62.12 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/5.968, allocations: 152.4 kB / 2.969 GB, free: 61.96 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-05/5.968, allocations: 4 kB / 2.969 GB, free: 61.95 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/5.968, allocations: 31.88 kB / 2.969 GB, free: 61.92 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/5.968, allocations: 15.98 kB / 2.969 GB, free: 61.91 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/5.969, allocations: 12 kB / 2.97 GB, free: 61.89 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0002229/5.969, allocations: 251.2 kB / 2.97 GB, free: 61.66 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002604/5.971, allocations: 0.5383 MB / 2.97 GB, free: 61.12 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001828/5.973, allocations: 1.168 MB / 2.971 GB, free: 59.94 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0006542/5.974, allocations: 374.7 kB / 2.972 GB, free: 59.57 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/5.974, allocations: 4.062 kB / 2.972 GB, free: 59.57 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/5.974, allocations: 115.9 kB / 2.972 GB, free: 59.45 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/5.975, allocations: 255.2 kB / 2.972 GB, free: 59.21 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/5.977, allocations: 0.7889 MB / 2.973 GB, free: 58.39 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/5.978, allocations: 0.9249 MB / 2.974 GB, free: 57.43 MB / 0.6982 GB Notification: Performance of SimCode: time 4.71e-07/5.978, allocations: 0 / 2.974 GB, free: 57.43 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Airvolumes_Examples_MixingVolumeMoistAirFlexible_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Airvolumes_Examples_MixingVolumeMoistAirFlexible.fmu > BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe 2>&1)