Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.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.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",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.001067/0.001067, allocations: 193.2 kB / 316 MB, free: 3.535 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.14/1.14, allocations: 205.1 MB / 0.5667 GB, free: 15.75 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.0009165/0.0009165, allocations: 87.34 kB / 0.671 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3143/0.3152, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.4621, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4411/0.9032, allocations: 131.6 MB / 1.013 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001846/0.9035, allocations: 71.77 kB / 1.013 GB, free: 6.824 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.001791/0.9053, allocations: 0.6637 MB / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.9053, allocations: 8 kB / 1.014 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.9053, allocations: 8 kB / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.909e-05/0.9055, allocations: 167 kB / 1.014 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.403e-06/0.9055, allocations: 0 / 1.014 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.9055, allocations: 4 kB / 1.014 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.682e-05/0.9055, allocations: 11.12 kB / 1.014 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.559e-05/0.9056, allocations: 37.19 kB / 1.014 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.069e-06/0.9056, allocations: 0 / 1.014 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.9056, allocations: 3.062 kB / 1.014 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.9057, allocations: 4 kB / 1.014 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002542/0.9059, allocations: 229.2 kB / 1.014 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.443e-05/0.906, allocations: 22.58 kB / 1.014 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.906, allocations: 12.86 kB / 1.014 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.906, allocations: 0 / 1.014 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.906, allocations: 38.48 kB / 1.014 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.906, allocations: 0 / 1.014 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001292/0.9062, allocations: 45.38 kB / 1.014 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.9062, allocations: 51.41 kB / 1.015 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.562e-05/0.9063, allocations: 95.72 kB / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.9063, allocations: 25.7 kB / 1.015 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.9064, allocations: 84.14 kB / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.9064, allocations: 6.641 kB / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.9064, allocations: 0 / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.9065, allocations: 318.6 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.9066, allocations: 8.031 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.189e-05/0.9066, allocations: 7.812 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.414e-05/0.9066, allocations: 0 / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.9066, allocations: 0 / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.376e-05/0.9067, allocations: 45.58 kB / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.9067, allocations: 4 kB / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.9067, allocations: 0 / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.725e-06/0.9067, allocations: 0 / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.592e-05/0.9068, allocations: 16.08 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.9068, allocations: 7.906 kB / 1.015 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.349e-05/0.9069, allocations: 7.984 kB / 1.015 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.9069, allocations: 0 / 1.015 GB, free: 4.82 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 5.642e-05/0.9069, allocations: 105 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.907, allocations: 7.938 kB / 1.015 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.907, allocations: 11.17 kB / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.907, allocations: 0 / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.907, allocations: 4 kB / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.907, allocations: 0 / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.9071, allocations: 137.8 kB / 1.015 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.9071, allocations: 0 / 1.015 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.467e-05/0.9072, allocations: 8 kB / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.9072, allocations: 4 kB / 1.015 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.9072, allocations: 3.938 kB / 1.015 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.9072, allocations: 0 / 1.015 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.9073, allocations: 7.891 kB / 1.015 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.045e-05/0.9074, allocations: 137 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001845/0.9075, allocations: 0.5137 MB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.9076, allocations: 77.11 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.9076, allocations: 0 / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.899e-05/0.9077, allocations: 15.89 kB / 1.016 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.9077, allocations: 3.5 kB / 1.016 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.9077, allocations: 0 / 1.016 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.691e-05/0.9078, allocations: 83.31 kB / 1.016 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007487/0.9085, allocations: 4 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.000125/0.9087, allocations: 103.2 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.193e-05/0.9087, allocations: 15.75 kB / 1.016 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.9087, allocations: 0 / 1.016 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.886e-05/0.9087, allocations: 11 kB / 1.016 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.9089, allocations: 0 / 1.016 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001714/0.9091, allocations: 65.78 kB / 1.016 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.9093, allocations: 0.6919 MB / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/0.9093, allocations: 0 / 1.017 GB, free: 2.703 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)