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_hp.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_hp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",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.246/1.246, allocations: 249.4 MB / 256.7 MB, free: 7.012 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.0009691/0.0009691, allocations: 192.7 kB / 316 MB, free: 3.586 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.177/1.177, 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.0009653/0.0009651, allocations: 85.58 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3494/0.3504, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.517, allocations: 106.3 MB / 0.8847 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4653/0.9823, allocations: 131.7 MB / 1.013 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001817/0.9826, allocations: 71.08 kB / 1.013 GB, free: 6.863 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.002664/0.9852, allocations: 1.201 MB / 1.014 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.9853, allocations: 8 kB / 1.014 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.9853, allocations: 14.97 kB / 1.015 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.9855, allocations: 185.7 kB / 1.015 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.9855, allocations: 4 kB / 1.015 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.9855, allocations: 4 kB / 1.015 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.872e-05/0.9856, allocations: 38.08 kB / 1.015 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.9857, allocations: 80.16 kB / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.9857, allocations: 0 / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.9857, allocations: 3.984 kB / 1.015 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.9858, allocations: 0 / 1.015 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.9862, allocations: 419.9 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.688e-05/0.9863, allocations: 40.72 kB / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.002e-05/0.9863, allocations: 16.97 kB / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.9863, allocations: 4.031 kB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.9864, allocations: 34.47 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.9864, allocations: 0 / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001634/0.9865, allocations: 49.44 kB / 1.015 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.9866, allocations: 81.02 kB / 1.015 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.9867, allocations: 123.4 kB / 1.016 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.9867, allocations: 29.64 kB / 1.016 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.9868, allocations: 110.6 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.236e-06/0.9868, allocations: 3.906 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.9868, allocations: 0 / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.987, allocations: 322.7 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.987, allocations: 10.5 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.403e-05/0.987, allocations: 21.28 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.282e-05/0.9871, allocations: 6.625 kB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.9871, allocations: 3.906 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.395e-05/0.9871, allocations: 49.19 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.9872, allocations: 7.938 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.9872, allocations: 8.062 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.9872, allocations: 3.906 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.362e-05/0.9873, allocations: 7.875 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.9873, allocations: 0 / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.827e-05/0.9873, allocations: 7.938 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.9873, allocations: 0 / 1.016 GB, free: 4.031 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 7.116e-05/0.9874, allocations: 101 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.9875, allocations: 7.906 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/0.9875, allocations: 15.53 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.9875, allocations: 4 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.9875, allocations: 3.906 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.9875, allocations: 0 / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/0.9879, allocations: 454.8 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.9879, allocations: 4.219 kB / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.9879, allocations: 3.75 kB / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.9879, allocations: 7.938 kB / 1.017 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-06/0.9879, allocations: 0 / 1.017 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.9879, allocations: 4.062 kB / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.9879, allocations: 3.938 kB / 1.017 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.802e-05/0.988, allocations: 89.98 kB / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002253/0.9883, allocations: 473 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.9883, allocations: 85 kB / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.9884, allocations: 4 kB / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.201e-05/0.9884, allocations: 0 / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.9884, allocations: 0 / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.9884, allocations: 0 / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.563e-05/0.9885, allocations: 111.8 kB / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00072/0.9892, allocations: 11.91 kB / 1.017 GB, free: 2.59 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.0001082/0.9893, allocations: 95.25 kB / 1.018 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.551e-05/0.9894, allocations: 19.56 kB / 1.018 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.9894, allocations: 0 / 1.018 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.14e-05/0.9894, allocations: 7.438 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 0.0001034/0.9895, allocations: 4 kB / 1.018 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002573/0.9898, allocations: 118.8 kB / 1.018 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.9901, allocations: 0.7114 MB / 1.018 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/0.9901, allocations: 0 / 1.018 GB, free: 1.59 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1)