Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.404/1.404, allocations: 289.8 MB / 297.1 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009915/0.0009915, allocations: 181.3 kB / 366.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.092/1.092, allocations: 205.1 MB / 0.6256 GB, free: 5.852 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008146/0.0008149, allocations: 89.14 kB / 0.7395 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1955/0.1963, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.643, allocations: 116.3 MB / 0.9727 GB, free: 68.13 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.14/0.783, allocations: 137.7 MB / 1.107 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001756/0.7832, allocations: 71.95 kB / 1.107 GB, free: 10.76 MB / 0.7136 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.001626/0.7849, allocations: 0.6535 MB / 1.108 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.7849, allocations: 8 kB / 1.108 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.7849, allocations: 11.91 kB / 1.108 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.693e-05/0.785, allocations: 159.1 kB / 1.108 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.785, allocations: 0 / 1.108 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-06/0.7851, allocations: 0 / 1.108 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.803e-05/0.7851, allocations: 13.5 kB / 1.108 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.025e-05/0.7852, allocations: 45.67 kB / 1.108 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.7852, allocations: 0 / 1.108 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.7852, allocations: 3.906 kB / 1.108 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.7852, allocations: 0 / 1.108 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/0.7855, allocations: 229.4 kB / 1.108 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.372e-05/0.7855, allocations: 22.58 kB / 1.108 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.368e-05/0.7856, allocations: 16.92 kB / 1.108 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.7856, allocations: 4.031 kB / 1.108 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.7856, allocations: 34.47 kB / 1.108 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.7856, allocations: 0 / 1.108 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001295/0.7858, allocations: 37.7 kB / 1.108 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.7858, allocations: 51.41 kB / 1.108 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.615e-05/0.7859, allocations: 96.94 kB / 1.109 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.7859, allocations: 25.73 kB / 1.109 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.658e-05/0.7859, allocations: 88.12 kB / 1.109 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.7859, allocations: 9.219 kB / 1.109 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.7859, allocations: 0 / 1.109 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.786, allocations: 310.8 kB / 1.109 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.786, allocations: 8 kB / 1.109 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.056e-05/0.7861, allocations: 0 / 1.109 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.658e-05/0.7861, allocations: 8 kB / 1.109 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.7861, allocations: 0 / 1.109 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.294e-05/0.7862, allocations: 49.66 kB / 1.109 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/0.7862, allocations: 4 kB / 1.109 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.7862, allocations: 0 / 1.109 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.7862, allocations: 0 / 1.109 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.926e-05/0.7863, allocations: 11.98 kB / 1.109 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.7863, allocations: 6.594 kB / 1.109 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.261e-05/0.7864, allocations: 12.03 kB / 1.109 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.7864, allocations: 0.75 kB / 1.109 GB, free: 8.684 MB / 0.7136 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.439e-05/0.7864, allocations: 116.8 kB / 1.109 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.7865, allocations: 0 / 1.109 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.7865, allocations: 7.297 kB / 1.109 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.7865, allocations: 0 / 1.109 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.7865, allocations: 0 / 1.109 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.7865, allocations: 4 kB / 1.109 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.7866, allocations: 142.1 kB / 1.109 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.7866, allocations: 4.938 kB / 1.109 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.625e-05/0.7867, allocations: 11.98 kB / 1.109 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.7867, allocations: 0 / 1.109 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.7867, allocations: 0 / 1.109 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.7867, allocations: 0 / 1.109 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.7867, allocations: 0 / 1.109 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.043e-05/0.7868, allocations: 143.5 kB / 1.109 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001571/0.787, allocations: 0.5038 MB / 1.11 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.787, allocations: 85 kB / 1.11 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.7871, allocations: 4 kB / 1.11 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.7872, allocations: 12.62 kB / 1.11 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.7872, allocations: 3.984 kB / 1.11 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.7872, allocations: 0 / 1.11 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.608e-05/0.7872, allocations: 79.28 kB / 1.11 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007363/0.788, allocations: 4 kB / 1.11 GB, free: 7.473 MB / 0.7136 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.0001201/0.7881, allocations: 103.2 kB / 1.11 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.168e-05/0.7882, allocations: 16.75 kB / 1.11 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7882, allocations: 0 / 1.11 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.019e-05/0.7882, allocations: 11.94 kB / 1.11 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.7884, allocations: 10.73 kB / 1.11 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000176/0.7886, allocations: 59.08 kB / 1.11 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.7888, allocations: 0.688 MB / 1.111 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of SimCode: time 2.084e-06/0.7888, allocations: 0 / 1.111 GB, free: 6.531 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)