Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_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.0.1-maint.8.0.x/package.mo): time 1.305/1.305, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009103/0.0009103, allocations: 185.2 kB / 361.1 MB, free: 7.086 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.021/1.021, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0007663/0.0007665, allocations: 93.66 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1758/0.1766, allocations: 121.4 MB / 0.8511 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.5669, allocations: 115.3 MB / 0.9638 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1446/0.7116, allocations: 136.8 MB / 1.097 GB, free: 3.199 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001703/0.7118, allocations: 67.95 kB / 1.097 GB, free: 3.133 MB / 0.698 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.002692/0.7145, allocations: 1.201 MB / 1.099 GB, free: 1.914 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.7145, allocations: 8 kB / 1.099 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.7146, allocations: 15.81 kB / 1.099 GB, free: 1.891 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.7147, allocations: 174.9 kB / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.7148, allocations: 4 kB / 1.099 GB, free: 1.676 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.7148, allocations: 6.125 kB / 1.099 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.743e-05/0.7149, allocations: 32 kB / 1.099 GB, free: 1.641 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.715, allocations: 92.86 kB / 1.099 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.715, allocations: 0 / 1.099 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.715, allocations: 0 / 1.099 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.715, allocations: 7.281 kB / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.7155, allocations: 407 kB / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.433e-05/0.7156, allocations: 41.89 kB / 1.099 GB, free: 1.043 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.7156, allocations: 18.28 kB / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.7156, allocations: 5.922 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.7157, allocations: 35.69 kB / 1.099 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.7157, allocations: 2.344 kB / 1.099 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001422/0.7158, allocations: 43.52 kB / 1.099 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.7159, allocations: 81.05 kB / 1.099 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.662e-05/0.716, allocations: 123 kB / 1.1 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.716, allocations: 25.7 kB / 1.1 GB, free: 0.668 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/0.716, allocations: 116.5 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.891e-06/0.7161, allocations: 4.781 kB / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.7161, allocations: 0 / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.7162, allocations: 322 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.793e-05/0.7162, allocations: 4.5 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.424e-05/0.7162, allocations: 22.2 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.134e-05/0.7162, allocations: 9.906 kB / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.7163, allocations: 0 / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.265e-05/0.7163, allocations: 58.08 kB / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.7164, allocations: 4 kB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.7164, allocations: 1.469 kB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.7164, allocations: 4.641 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.158e-05/0.7165, allocations: 8 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.7165, allocations: 0 / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.05e-05/0.7165, allocations: 10.34 kB / 1.1 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.7165, allocations: 8.5 kB / 1.1 GB, free: 96 kB / 0.698 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.53e-05/0.7166, allocations: 102.7 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.7166, allocations: 7.906 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.034e-05/0.7166, allocations: 3.594 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.7167, allocations: 0 / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.7167, allocations: 9.594 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.7167, allocations: 0.5938 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003343/0.717, allocations: 456.8 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.717, allocations: 0.6875 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.459e-05/0.717, allocations: 4 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.7171, allocations: 0.5938 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-06/0.7171, allocations: 3.609 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.7171, allocations: 4.188 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7171, allocations: 4 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.623e-05/0.7172, allocations: 92.73 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001809/0.7174, allocations: 469.4 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.7174, allocations: 89 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.7174, allocations: 0 / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.157e-05/0.7175, allocations: 0 / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.7175, allocations: 3.906 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.7175, allocations: 4 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.15e-05/0.7175, allocations: 110.7 kB / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000704/0.7183, allocations: 11.91 kB / 1.101 GB, free: 14.63 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 9.148e-05/0.7184, allocations: 103 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.246e-05/0.7184, allocations: 20 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.7184, allocations: 2.062 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.047e-05/0.7184, allocations: 4 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.845e-05/0.7185, allocations: 6.234 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002417/0.7188, allocations: 113.5 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.719, allocations: 0.7152 MB / 1.102 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.7191, allocations: 0 / 1.102 GB, free: 13.61 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1)