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_degC.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_degC,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",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.992 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.0009883/0.0009883, allocations: 197.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.204/1.204, allocations: 205.1 MB / 0.5667 GB, free: 15.68 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.0008235/0.0008235, allocations: 88.66 kB / 0.671 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3054/0.3062, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.453, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.434/0.887, allocations: 131.6 MB / 1.013 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001592/0.8872, allocations: 67.02 kB / 1.013 GB, free: 7.086 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.002715/0.89, allocations: 1.267 MB / 1.015 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.89, allocations: 12 kB / 1.015 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.8901, allocations: 15.8 kB / 1.015 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.8902, allocations: 182.1 kB / 1.015 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.8902, allocations: 4 kB / 1.015 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.8902, allocations: 4 kB / 1.015 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001091/0.8903, allocations: 34.25 kB / 1.015 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.8905, allocations: 82.02 kB / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.8905, allocations: 10.58 kB / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.8905, allocations: 4 kB / 1.015 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.8905, allocations: 4 kB / 1.015 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.891, allocations: 420.2 kB / 1.015 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.281e-05/0.891, allocations: 37.28 kB / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.369e-05/0.8911, allocations: 16.91 kB / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.8911, allocations: 0.8438 kB / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.8911, allocations: 38.56 kB / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.923e-06/0.8911, allocations: 0 / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001365/0.8912, allocations: 51.89 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.8913, allocations: 81.11 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.8914, allocations: 133.2 kB / 1.016 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.8914, allocations: 25.7 kB / 1.016 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/0.8915, allocations: 110.9 kB / 1.016 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.402e-06/0.8915, allocations: 7.906 kB / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.8915, allocations: 8 kB / 1.016 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.966e-05/0.8916, allocations: 318.1 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.8916, allocations: 8.938 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.232e-05/0.8916, allocations: 24.34 kB / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.19e-05/0.8917, allocations: 7.562 kB / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.8917, allocations: 0 / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.28e-05/0.8918, allocations: 64.66 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.8918, allocations: 8 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.8918, allocations: 0 / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.8918, allocations: 0 / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.567e-05/0.8919, allocations: 8 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.8919, allocations: 0 / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/0.8919, allocations: 3.906 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-06/0.8919, allocations: 0 / 1.016 GB, free: 4.172 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.932e-05/0.892, allocations: 108.9 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.892, allocations: 11.95 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.8921, allocations: 15.11 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.8921, allocations: 4 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.8921, allocations: 0 / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.8921, allocations: 224 / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.8924, allocations: 452.5 kB / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.8925, allocations: 7.938 kB / 1.017 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.769e-05/0.8925, allocations: 7.922 kB / 1.017 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.8925, allocations: 4.062 kB / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.8925, allocations: 7.906 kB / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.8925, allocations: 4 kB / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8925, allocations: 0 / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.414e-05/0.8926, allocations: 82.75 kB / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000202/0.8928, allocations: 479 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.176e-05/0.8929, allocations: 92.94 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.8929, allocations: 0 / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.46e-05/0.8929, allocations: 0 / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.348e-05/0.893, allocations: 4.031 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.893, allocations: 4 kB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.138e-05/0.893, allocations: 111.7 kB / 1.018 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007999/0.8938, allocations: 15.91 kB / 1.018 GB, free: 2.711 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.379e-05/0.8939, allocations: 95.25 kB / 1.018 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.11e-05/0.894, allocations: 15.56 kB / 1.018 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.894, allocations: 0 / 1.018 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-05/0.894, allocations: 11.75 kB / 1.018 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.651e-05/0.8941, allocations: 8 kB / 1.018 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.8945, allocations: 118.9 kB / 1.018 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003281/0.8948, allocations: 0.711 MB / 1.018 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/0.8948, allocations: 0 / 1.018 GB, free: 1.715 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1)