Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_cfm,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.257/1.257, allocations: 249.4 MB / 256.7 MB, free: 6.91 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.0009753/0.0009753, allocations: 199.9 kB / 316 MB, free: 3.484 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.137/1.137, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.0008245/0.0008246, allocations: 91.33 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.363/0.3639, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.5377, allocations: 106.3 MB / 0.8847 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4963/1.034, allocations: 131.7 MB / 1.013 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001744/1.034, allocations: 66.16 kB / 1.013 GB, free: 6.77 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.002694/1.037, allocations: 1.204 MB / 1.014 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/1.037, allocations: 11.98 kB / 1.014 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/1.037, allocations: 11.91 kB / 1.014 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/1.037, allocations: 178.9 kB / 1.015 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/1.037, allocations: 4 kB / 1.015 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/1.037, allocations: 4.844 kB / 1.015 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.887e-05/1.037, allocations: 37.03 kB / 1.015 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/1.037, allocations: 84.36 kB / 1.015 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/1.037, allocations: 3.984 kB / 1.015 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/1.037, allocations: 0 / 1.015 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/1.038, allocations: 4 kB / 1.015 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/1.038, allocations: 413.5 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.505e-05/1.038, allocations: 44.64 kB / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.627e-05/1.038, allocations: 17.16 kB / 1.015 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/1.038, allocations: 3.938 kB / 1.015 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/1.038, allocations: 38.5 kB / 1.015 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.893e-06/1.038, allocations: 4 kB / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001411/1.038, allocations: 43.47 kB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/1.038, allocations: 81.02 kB / 1.015 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.975e-05/1.038, allocations: 119.7 kB / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/1.038, allocations: 29.7 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/1.038, allocations: 106.9 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.254e-06/1.038, allocations: 11.83 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/1.038, allocations: 0 / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.838e-05/1.039, allocations: 322.4 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/1.039, allocations: 10 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.216e-05/1.039, allocations: 17.16 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.464e-05/1.039, allocations: 11.05 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.039, allocations: 3.906 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.34e-05/1.039, allocations: 47.64 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/1.039, allocations: 8 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/1.039, allocations: 4.062 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/1.039, allocations: 7.844 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.954e-05/1.039, allocations: 4 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/1.039, allocations: 7.984 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/1.039, allocations: 3.938 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/1.039, allocations: 0 / 1.016 GB, free: 3.934 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.358e-05/1.039, allocations: 105 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/1.039, allocations: 3.906 kB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/1.039, allocations: 14.92 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/1.039, allocations: 8.094 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.039, allocations: 3.906 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/1.039, allocations: 7.938 kB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/1.039, allocations: 449.1 kB / 1.017 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.039, allocations: 0 / 1.017 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.337e-05/1.039, allocations: 4 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/1.039, allocations: 0 / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/1.039, allocations: 4.047 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/1.039, allocations: 4 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.039, allocations: 0 / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.131e-05/1.04, allocations: 86.62 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001601/1.04, allocations: 474.9 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/1.04, allocations: 92.62 kB / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/1.04, allocations: 0 / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.141e-05/1.04, allocations: 0 / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/1.04, allocations: 0 / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/1.04, allocations: 7.938 kB / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.309e-05/1.04, allocations: 105 kB / 1.017 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000704/1.041, allocations: 11.91 kB / 1.017 GB, free: 2.496 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 8.563e-05/1.041, allocations: 99.25 kB / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.235e-05/1.041, allocations: 23.06 kB / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/1.041, allocations: 0 / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.101e-05/1.041, allocations: 4 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001106/1.041, allocations: 3.75 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/1.041, allocations: 115.6 kB / 1.018 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/1.041, allocations: 0.709 MB / 1.018 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/1.041, allocations: 0 / 1.018 GB, free: 1.5 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1)