Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.7182/0.7182, allocations: 141.8 MB / 149.1 MB, free: 12.32 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.001093/0.001093, allocations: 181.4 kB / 181.9 MB, free: 9.047 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.313/1.313, allocations: 221.4 MB / 436 MB, free: 1.504 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.0009028/0.0009031, allocations: 93.92 kB / 0.507 GB, free: 10.31 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001739/0.001739, allocations: 280.3 kB / 0.5885 GB, free: 7.137 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1882/0.19, allocations: 89.64 MB / 0.676 GB, free: 13.4 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.5816, allocations: 82.76 MB / 0.7568 GB, free: 138.3 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.364/3.946, allocations: 1.879 GB / 2.636 GB, free: 141.5 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/3.946, allocations: 91.88 kB / 2.636 GB, free: 141.5 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 1.455/5.402, allocations: 464.5 MB / 3.089 GB, free: 148.1 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/5.402, allocations: 7.75 kB / 3.089 GB, free: 148.1 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002408/5.404, allocations: 326.8 kB / 3.09 GB, free: 148 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/5.406, allocations: 0.8426 MB / 3.091 GB, free: 147.8 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.044e-05/5.406, allocations: 26.97 kB / 3.091 GB, free: 147.8 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/5.406, allocations: 49.5 kB / 3.091 GB, free: 147.8 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001331/5.408, allocations: 0.7348 MB / 3.091 GB, free: 147.8 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/5.409, allocations: 0.8421 MB / 3.092 GB, free: 147.7 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/5.409, allocations: 0 / 3.092 GB, free: 147.7 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.797e-05/5.409, allocations: 0 / 3.092 GB, free: 147.7 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.744e-05/5.409, allocations: 37.33 kB / 3.092 GB, free: 147.7 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004904/5.414, allocations: 3.308 MB / 3.095 GB, free: 146.5 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006729/5.415, allocations: 464.8 kB / 3.096 GB, free: 146.4 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/5.415, allocations: 254.4 kB / 3.096 GB, free: 146.4 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001987/5.416, allocations: 104.6 kB / 3.096 GB, free: 146.3 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/5.416, allocations: 45.62 kB / 3.096 GB, free: 146.3 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=47): time 2.545e-06/5.416, allocations: 0 / 3.096 GB, free: 146.3 MB / 0.6982 GB Notification: Performance of matching and sorting (n=49): time 0.003095/5.419, allocations: 1.334 MB / 3.098 GB, free: 145.9 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/5.419, allocations: 55.78 kB / 3.098 GB, free: 145.8 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006122/5.419, allocations: 0.5216 MB / 3.098 GB, free: 145.7 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.894e-05/5.419, allocations: 28.73 kB / 3.098 GB, free: 145.6 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/5.42, allocations: 385.9 kB / 3.099 GB, free: 145.4 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/5.42, allocations: 170.5 kB / 3.099 GB, free: 145.4 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/5.42, allocations: 3.438 kB / 3.099 GB, free: 145.4 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 9.237e-05/5.42, allocations: 381.3 kB / 3.099 GB, free: 145 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/5.42, allocations: 211.4 kB / 3.099 GB, free: 145 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/5.421, allocations: 349.1 kB / 3.1 GB, free: 144.9 MB / 0.6982 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002673/5.423, allocations: 0.9299 MB / 3.101 GB, free: 144.8 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/5.423, allocations: 5.656 kB / 3.101 GB, free: 144.8 MB / 0.6982 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001213/5.424, allocations: 0.679 MB / 3.101 GB, free: 144.7 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/5.425, allocations: 9.188 kB / 3.101 GB, free: 144.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/5.425, allocations: 3.719 kB / 3.101 GB, free: 144.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002002/5.425, allocations: 63.05 kB / 3.101 GB, free: 144.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006275/5.425, allocations: 152 kB / 3.101 GB, free: 144.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/5.427, allocations: 2.624 MB / 3.104 GB, free: 142.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/5.428, allocations: 54.62 kB / 3.104 GB, free: 142.3 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-05/5.428, allocations: 25.22 kB / 3.104 GB, free: 142.3 MB / 0.6982 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002149/5.429, allocations: 120.2 kB / 3.104 GB, free: 142.2 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/5.429, allocations: 81.66 kB / 3.104 GB, free: 142.1 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/5.429, allocations: 82.89 kB / 3.104 GB, free: 142.1 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/5.429, allocations: 4.875 kB / 3.104 GB, free: 142.1 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/5.429, allocations: 0.5 kB / 3.104 GB, free: 142.1 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001043/5.43, allocations: 0.7652 MB / 3.105 GB, free: 141.7 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003035/5.433, allocations: 1.57 MB / 3.107 GB, free: 141.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/5.433, allocations: 5.094 kB / 3.107 GB, free: 141.3 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005449/5.434, allocations: 121.1 kB / 3.107 GB, free: 141.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001084/5.434, allocations: 32.77 kB / 3.107 GB, free: 141.3 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/5.434, allocations: 7 kB / 3.107 GB, free: 141.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008181/5.435, allocations: 1.352 MB / 3.108 GB, free: 140.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/5.435, allocations: 3.938 kB / 3.108 GB, free: 140.1 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001131/5.436, allocations: 1.121 MB / 3.109 GB, free: 139.6 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001668/5.438, allocations: 1.848 MB / 3.111 GB, free: 138.7 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000423/5.438, allocations: 221.7 kB / 3.111 GB, free: 138.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/5.438, allocations: 7.594 kB / 3.111 GB, free: 138.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008055/5.439, allocations: 48.3 kB / 3.111 GB, free: 138.5 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/5.439, allocations: 39.14 kB / 3.111 GB, free: 138.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.87e-05/5.439, allocations: 28.25 kB / 3.111 GB, free: 138.5 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004646/5.44, allocations: 404.1 kB / 3.112 GB, free: 138.5 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002172/5.442, allocations: 496.8 kB / 3.112 GB, free: 138.4 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001748/5.444, allocations: 1.447 MB / 3.114 GB, free: 138.1 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0009612/5.445, allocations: 0.704 MB / 3.114 GB, free: 137.9 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/5.445, allocations: 3.281 kB / 3.114 GB, free: 137.9 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0003713/5.445, allocations: 350.4 kB / 3.115 GB, free: 137.8 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/5.447, allocations: 431.8 kB / 3.115 GB, free: 137.8 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/5.449, allocations: 1.322 MB / 3.116 GB, free: 137.4 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000781/5.45, allocations: 1.175 MB / 3.117 GB, free: 136.7 MB / 0.6982 GB Notification: Performance of SimCode: time 5.11e-07/5.45, allocations: 3.938 kB / 3.117 GB, free: 136.7 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)