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_psi.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_psi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",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.219/1.219, allocations: 249.4 MB / 256.7 MB, free: 7.039 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.001004/0.001004, allocations: 181.2 kB / 316 MB, free: 3.555 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.144/1.144, allocations: 205.1 MB / 0.5667 GB, free: 15.62 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.0008509/0.0008509, allocations: 90.34 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3476/0.3485, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.5094, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4732/0.9827, allocations: 131.7 MB / 1.013 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.9829, allocations: 73.75 kB / 1.013 GB, free: 6.867 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.002789/0.9857, allocations: 1.201 MB / 1.014 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.9858, allocations: 8 kB / 1.014 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.9858, allocations: 8.656 kB / 1.015 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.986, allocations: 181.6 kB / 1.015 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.986, allocations: 6.438 kB / 1.015 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.986, allocations: 4 kB / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.286e-05/0.9861, allocations: 39.53 kB / 1.015 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.9862, allocations: 80.45 kB / 1.015 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.9862, allocations: 0 / 1.015 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.9863, allocations: 0 / 1.015 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.9863, allocations: 7.938 kB / 1.015 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/0.9867, allocations: 414.9 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.249e-05/0.9868, allocations: 35.91 kB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.9868, allocations: 21.16 kB / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.9868, allocations: 0 / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.9869, allocations: 38.5 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.9869, allocations: 4 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001559/0.987, allocations: 37.45 kB / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.9871, allocations: 83.64 kB / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.9872, allocations: 128.5 kB / 1.016 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.9872, allocations: 29.7 kB / 1.016 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.9873, allocations: 107.9 kB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.194e-06/0.9873, allocations: 3.906 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.9873, allocations: 3.938 kB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.9874, allocations: 318.3 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.9874, allocations: 9.938 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.059e-05/0.9874, allocations: 21.33 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.26e-05/0.9875, allocations: 11.56 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.9875, allocations: 3.906 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.963e-05/0.9876, allocations: 44.95 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.9876, allocations: 8 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.9876, allocations: 0 / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.9876, allocations: 7.891 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.038e-05/0.9877, allocations: 11.62 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.9877, allocations: 4 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.867e-05/0.9877, allocations: 8 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.9878, allocations: 0 / 1.016 GB, free: 4.043 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.85e-05/0.9878, allocations: 105 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.9879, allocations: 3.906 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/0.9879, allocations: 14.77 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.9879, allocations: 3.984 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.9879, allocations: 7.891 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.9879, allocations: 4.219 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.9883, allocations: 452.3 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.9883, allocations: 8.672 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.331e-05/0.9883, allocations: 4 kB / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.9883, allocations: 0 / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-06/0.9883, allocations: 0 / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.9883, allocations: 4 kB / 1.017 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9883, allocations: 0.7031 kB / 1.017 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001094/0.9884, allocations: 90.19 kB / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001606/0.9886, allocations: 477.4 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.9887, allocations: 92.94 kB / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.9887, allocations: 0 / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.183e-05/0.9887, allocations: 0 / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.012e-05/0.9887, allocations: 0 / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.9887, allocations: 4 kB / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.669e-05/0.9888, allocations: 100.5 kB / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007184/0.9895, allocations: 15.91 kB / 1.017 GB, free: 2.594 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.0001014/0.9896, allocations: 99.25 kB / 1.018 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.746e-05/0.9897, allocations: 19.88 kB / 1.018 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.9897, allocations: 3.75 kB / 1.018 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.137e-05/0.9897, allocations: 4 kB / 1.018 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.685e-05/0.9898, allocations: 3.094 kB / 1.018 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.9901, allocations: 114.4 kB / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/0.9903, allocations: 0.7116 MB / 1.018 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.9903, allocations: 0 / 1.018 GB, free: 1.598 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1)