Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",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 8.1.4-maint.8.1.x/package.mo): time 1.388/1.388, allocations: 289.8 MB / 297.1 MB, free: 6.551 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001007, allocations: 176.2 kB / 366.3 MB, free: 1.93 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.084/1.084, allocations: 205.1 MB / 0.6256 GB, free: 5.789 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008129/0.0008128, allocations: 87.19 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2032/0.2041, allocations: 122.4 MB / 0.8591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4744/0.6785, allocations: 116.3 MB / 0.9726 GB, free: 68.35 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1432/0.8217, allocations: 137.7 MB / 1.107 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/0.8219, allocations: 65.22 kB / 1.107 GB, free: 10.62 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.002758/0.8247, allocations: 1.207 MB / 1.108 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.8248, allocations: 8 kB / 1.108 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.8248, allocations: 12.56 kB / 1.108 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.8249, allocations: 178.9 kB / 1.109 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.825, allocations: 4 kB / 1.109 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.825, allocations: 7.984 kB / 1.109 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.863e-05/0.8251, allocations: 36.66 kB / 1.109 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.8252, allocations: 87.23 kB / 1.109 GB, free: 9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.8252, allocations: 0 / 1.109 GB, free: 9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.8252, allocations: 0.8125 kB / 1.109 GB, free: 9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.8252, allocations: 0 / 1.109 GB, free: 9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.8257, allocations: 417.1 kB / 1.109 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.347e-05/0.8258, allocations: 39.47 kB / 1.109 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.8258, allocations: 23.16 kB / 1.109 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-06/0.8258, allocations: 0 / 1.109 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.8258, allocations: 34.55 kB / 1.109 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.8259, allocations: 0 / 1.109 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001457/0.826, allocations: 49.55 kB / 1.109 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.826, allocations: 77.11 kB / 1.109 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.356e-05/0.8261, allocations: 127.6 kB / 1.109 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.8262, allocations: 25.7 kB / 1.109 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.8262, allocations: 112 kB / 1.11 GB, free: 8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.305e-06/0.8262, allocations: 3.906 kB / 1.11 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.8262, allocations: 0 / 1.11 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.829e-05/0.8263, allocations: 321.4 kB / 1.11 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.092e-05/0.8263, allocations: 8 kB / 1.11 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.069e-05/0.8264, allocations: 21.72 kB / 1.11 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.46e-05/0.8264, allocations: 8.562 kB / 1.11 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.8264, allocations: 0 / 1.11 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.963e-05/0.8265, allocations: 61.53 kB / 1.11 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.8265, allocations: 8 kB / 1.11 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.8265, allocations: 0 / 1.11 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.8266, allocations: 224 / 1.11 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.73e-05/0.8266, allocations: 6.188 kB / 1.11 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.8266, allocations: 7.938 kB / 1.11 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.871e-05/0.8267, allocations: 7.844 kB / 1.11 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.8267, allocations: 8.062 kB / 1.11 GB, free: 7.531 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.571e-05/0.8267, allocations: 112.9 kB / 1.11 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.8268, allocations: 3.906 kB / 1.11 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.8268, allocations: 11.59 kB / 1.11 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.8268, allocations: 0 / 1.11 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.8268, allocations: 0 / 1.11 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.8269, allocations: 4 kB / 1.11 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/0.8272, allocations: 447.4 kB / 1.111 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.8272, allocations: 0 / 1.111 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.619e-05/0.8272, allocations: 7.938 kB / 1.111 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.8272, allocations: 0 / 1.111 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-06/0.8272, allocations: 0 / 1.111 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.8272, allocations: 0 / 1.111 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.8272, allocations: 0 / 1.111 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.613e-05/0.8273, allocations: 95.58 kB / 1.111 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001473/0.8275, allocations: 474.2 kB / 1.111 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.8275, allocations: 85.08 kB / 1.111 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.8275, allocations: 4 kB / 1.111 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.449e-05/0.8276, allocations: 3.984 kB / 1.111 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.8276, allocations: 7.906 kB / 1.111 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.8276, allocations: 0 / 1.111 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.416e-05/0.8277, allocations: 101.3 kB / 1.111 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007612/0.8284, allocations: 11.91 kB / 1.111 GB, free: 6.059 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001065/0.8285, allocations: 103.2 kB / 1.111 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.383e-05/0.8286, allocations: 16 kB / 1.111 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8286, allocations: 0 / 1.111 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.325e-05/0.8286, allocations: 15.94 kB / 1.111 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.914e-05/0.8287, allocations: 0.5156 kB / 1.111 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.829, allocations: 104.3 kB / 1.112 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.8293, allocations: 0.7155 MB / 1.112 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.8293, allocations: 0 / 1.112 GB, free: 5.047 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1)