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_quad.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_quad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",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.214/1.214, allocations: 249.4 MB / 256.7 MB, free: 7.152 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.0009621/0.0009623, allocations: 188.6 kB / 316 MB, free: 3.57 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.172/1.172, allocations: 205.1 MB / 0.5667 GB, free: 15.66 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.0009169/0.0009169, allocations: 94.06 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3566/0.3576, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.519, allocations: 106.3 MB / 0.8847 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4891/1.008, allocations: 131.7 MB / 1.013 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00017/1.008, allocations: 64.84 kB / 1.013 GB, free: 6.91 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.002754/1.011, allocations: 1.209 MB / 1.014 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/1.011, allocations: 11.98 kB / 1.014 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/1.011, allocations: 11.91 kB / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/1.011, allocations: 178.8 kB / 1.015 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/1.011, allocations: 8 kB / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/1.011, allocations: 4 kB / 1.015 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.07e-05/1.011, allocations: 38.53 kB / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/1.012, allocations: 81.89 kB / 1.015 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/1.012, allocations: 0 / 1.015 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/1.012, allocations: 0 / 1.015 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/1.012, allocations: 4 kB / 1.015 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/1.012, allocations: 409 kB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.804e-05/1.012, allocations: 49.83 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/1.012, allocations: 13.84 kB / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.413e-06/1.012, allocations: 0 / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/1.012, allocations: 43.91 kB / 1.015 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/1.012, allocations: 0 / 1.015 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001433/1.012, allocations: 41.2 kB / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/1.012, allocations: 85.08 kB / 1.015 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.907e-05/1.013, allocations: 128.1 kB / 1.016 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/1.013, allocations: 25.7 kB / 1.016 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/1.013, allocations: 111.2 kB / 1.016 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.436e-06/1.013, allocations: 7.891 kB / 1.016 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/1.013, allocations: 0 / 1.016 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.883e-05/1.013, allocations: 318.4 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/1.013, allocations: 6.562 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.157e-05/1.013, allocations: 21.16 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.188e-05/1.013, allocations: 10.8 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.013, allocations: 3.906 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.731e-05/1.013, allocations: 56.33 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/1.013, allocations: 4 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/1.013, allocations: 0 / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/1.013, allocations: 3.906 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.252e-05/1.013, allocations: 8 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/1.013, allocations: 8.047 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.742e-05/1.013, allocations: 3.938 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/1.013, allocations: 4 kB / 1.016 GB, free: 4.062 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.799e-05/1.013, allocations: 104.5 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/1.013, allocations: 7.906 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/1.013, allocations: 7.547 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/1.013, allocations: 0 / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.013, allocations: 7.906 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/1.013, allocations: 0 / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/1.014, allocations: 456.5 kB / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/1.014, allocations: 224 / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/1.014, allocations: 4 kB / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/1.014, allocations: 3.938 kB / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/1.014, allocations: 4.547 kB / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.014, allocations: 0 / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.014, allocations: 4 kB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.885e-05/1.014, allocations: 90.44 kB / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001961/1.014, allocations: 474.4 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/1.014, allocations: 89 kB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/1.014, allocations: 96 / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.266e-05/1.014, allocations: 0 / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/1.014, allocations: 7.984 kB / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/1.014, allocations: 0 / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001009/1.014, allocations: 107.6 kB / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000804/1.015, allocations: 15.84 kB / 1.017 GB, free: 2.621 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.0001187/1.015, allocations: 99.28 kB / 1.018 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.911e-05/1.015, allocations: 19.06 kB / 1.018 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.015, allocations: 0 / 1.018 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.094e-05/1.015, allocations: 4 kB / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001038/1.015, allocations: 7.062 kB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/1.016, allocations: 111.9 kB / 1.018 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/1.016, allocations: 0.7114 MB / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/1.016, allocations: 0 / 1.018 GB, free: 1.625 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1)