Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.263/1.263, allocations: 249.4 MB / 256.7 MB, free: 7.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 184.7 kB / 316 MB, free: 3.527 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.174/1.174, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008144/0.0008145, allocations: 92.75 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3351/0.3359, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.4879, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4618/0.9497, allocations: 131.6 MB / 1.013 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001735/0.9499, allocations: 64.7 kB / 1.013 GB, free: 7.074 MB / 0.6355 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.00267/0.9526, allocations: 1.21 MB / 1.014 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.9527, allocations: 8 kB / 1.014 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.9527, allocations: 11.89 kB / 1.014 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.9529, allocations: 186.8 kB / 1.015 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.9529, allocations: 4 kB / 1.015 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.9529, allocations: 4 kB / 1.015 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.492e-05/0.953, allocations: 37.47 kB / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.9531, allocations: 81.7 kB / 1.015 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.9531, allocations: 0 / 1.015 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.9531, allocations: 0 / 1.015 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.9532, allocations: 0 / 1.015 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.9536, allocations: 412.7 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.502e-05/0.9537, allocations: 44.81 kB / 1.015 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.766e-05/0.9537, allocations: 13.84 kB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.9537, allocations: 3.984 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.9538, allocations: 37.91 kB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.9538, allocations: 0 / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001763/0.954, allocations: 45.67 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.954, allocations: 83.58 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.9541, allocations: 123.9 kB / 1.016 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.9542, allocations: 25.7 kB / 1.016 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.9542, allocations: 111.7 kB / 1.016 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.092e-06/0.9542, allocations: 3.906 kB / 1.016 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.9542, allocations: 0 / 1.016 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.9543, allocations: 318.3 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.811e-05/0.9544, allocations: 10.59 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.173e-05/0.9544, allocations: 21.16 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.283e-05/0.9544, allocations: 7.312 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.9544, allocations: 3.906 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.855e-05/0.9545, allocations: 55.31 kB / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.9545, allocations: 4 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.9545, allocations: 4 kB / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.9546, allocations: 11.91 kB / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.474e-05/0.9546, allocations: 4 kB / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.9546, allocations: 0 / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.877e-05/0.9547, allocations: 11.92 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.9547, allocations: 3.875 kB / 1.016 GB, free: 4.242 MB / 0.6355 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.697e-05/0.9547, allocations: 101 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.9548, allocations: 7.906 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.445e-05/0.9548, allocations: 15.3 kB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.9548, allocations: 96 / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.9549, allocations: 7.891 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.9549, allocations: 7.938 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.9552, allocations: 452.2 kB / 1.017 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.9552, allocations: 224 / 1.017 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-05/0.9553, allocations: 0 / 1.017 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.9553, allocations: 7.938 kB / 1.017 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.9553, allocations: 0 / 1.017 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.9553, allocations: 3.984 kB / 1.017 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.9553, allocations: 8.703 kB / 1.017 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.363e-05/0.9554, allocations: 82.38 kB / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002247/0.9556, allocations: 474.6 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.203e-05/0.9557, allocations: 84.83 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.9557, allocations: 7.984 kB / 1.017 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.192e-05/0.9558, allocations: 0 / 1.017 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.9558, allocations: 3.938 kB / 1.017 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.9558, allocations: 0 / 1.017 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.535e-05/0.9558, allocations: 100.2 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001084/0.9569, allocations: 19.92 kB / 1.017 GB, free: 2.797 MB / 0.6355 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.000131/0.9571, allocations: 95.25 kB / 1.017 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.63e-05/0.9572, allocations: 19.12 kB / 1.018 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9572, allocations: 0 / 1.018 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.211e-05/0.9572, allocations: 7.938 kB / 1.018 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000116/0.9573, allocations: 6.938 kB / 1.018 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.9576, allocations: 115.6 kB / 1.018 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/0.9578, allocations: 0.7075 MB / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/0.9578, allocations: 0 / 1.018 GB, free: 1.805 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1)