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_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.To_quad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_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.269/1.269, allocations: 249.4 MB / 256.7 MB, free: 6.965 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.001042/0.001042, allocations: 177.3 kB / 316 MB, free: 3.531 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.262/1.262, allocations: 205.1 MB / 0.5667 GB, free: 15.58 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.001154/0.001154, allocations: 91.33 kB / 0.671 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3718/0.373, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.5538, allocations: 106.3 MB / 0.8847 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.519/1.073, allocations: 131.7 MB / 1.013 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/1.073, allocations: 65.91 kB / 1.013 GB, free: 6.828 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.002967/1.076, allocations: 1.202 MB / 1.014 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/1.076, allocations: 12 kB / 1.014 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/1.076, allocations: 11.84 kB / 1.015 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/1.076, allocations: 190.3 kB / 1.015 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/1.076, allocations: 0 / 1.015 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/1.076, allocations: 7.938 kB / 1.015 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.017e-05/1.077, allocations: 33.66 kB / 1.015 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/1.077, allocations: 81.34 kB / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/1.077, allocations: 0 / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/1.077, allocations: 7.984 kB / 1.015 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/1.077, allocations: 0 / 1.015 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/1.077, allocations: 411.4 kB / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.817e-05/1.077, allocations: 48.73 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/1.077, allocations: 13.78 kB / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/1.077, allocations: 3.625 kB / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/1.077, allocations: 34.47 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/1.077, allocations: 0 / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001545/1.078, allocations: 52.75 kB / 1.015 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/1.078, allocations: 81.02 kB / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/1.078, allocations: 123.4 kB / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/1.078, allocations: 25.7 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/1.078, allocations: 106.8 kB / 1.016 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.924e-06/1.078, allocations: 7.906 kB / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/1.078, allocations: 0 / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.132e-05/1.078, allocations: 317.7 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.782e-05/1.078, allocations: 13.75 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.967e-05/1.078, allocations: 17.59 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.182e-05/1.078, allocations: 11.62 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.078, allocations: 3.906 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.631e-05/1.078, allocations: 53.19 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/1.078, allocations: 4 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/1.078, allocations: 0 / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/1.078, allocations: 11.97 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.296e-05/1.078, allocations: 7.688 kB / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/1.078, allocations: 0 / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.862e-05/1.078, allocations: 7.938 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/1.078, allocations: 0 / 1.016 GB, free: 3.992 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.334e-05/1.078, allocations: 101 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/1.078, allocations: 11.89 kB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/1.078, allocations: 14.8 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/1.078, allocations: 0 / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.078, allocations: 7.906 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.078, allocations: 0 / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/1.079, allocations: 452.5 kB / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.079, allocations: 224 / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.349e-05/1.079, allocations: 4 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/1.079, allocations: 3.938 kB / 1.017 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/1.079, allocations: 7.938 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.079, allocations: 0 / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.079, allocations: 4.062 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001162/1.079, allocations: 90.92 kB / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000148/1.079, allocations: 470.1 kB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/1.079, allocations: 91.45 kB / 1.017 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/1.079, allocations: 0 / 1.017 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.442e-05/1.079, allocations: 4 kB / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/1.079, allocations: 3.984 kB / 1.017 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/1.079, allocations: 0 / 1.017 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.898e-05/1.079, allocations: 100.8 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007083/1.08, allocations: 19.88 kB / 1.017 GB, free: 2.547 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 9.323e-05/1.08, allocations: 99.23 kB / 1.018 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.258e-05/1.08, allocations: 15.12 kB / 1.018 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.08, allocations: 0 / 1.018 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.074e-05/1.08, allocations: 7.125 kB / 1.018 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.578e-05/1.08, allocations: 4 kB / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002391/1.08, allocations: 118.4 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/1.081, allocations: 0.7105 MB / 1.018 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/1.081, allocations: 0 / 1.018 GB, free: 1.551 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1)