Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.299/1.299, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.000891/0.0008911, allocations: 181.3 kB / 361.1 MB, free: 7.109 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.003/1.003, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007974/0.0007974, allocations: 82.98 kB / 0.7325 GB, free: 43.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1721/0.1729, allocations: 121.5 MB / 0.8512 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.5842, allocations: 115.3 MB / 0.9638 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.7129, allocations: 136.7 MB / 1.097 GB, free: 3.152 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001627/0.7131, allocations: 64.8 kB / 1.097 GB, free: 3.09 MB / 0.698 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.001645/0.7148, allocations: 0.6601 MB / 1.098 GB, free: 2.414 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.7148, allocations: 8.5 kB / 1.098 GB, free: 2.406 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.351e-05/0.7148, allocations: 7.281 kB / 1.098 GB, free: 2.402 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.512e-05/0.7149, allocations: 163.6 kB / 1.098 GB, free: 2.203 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.715, allocations: 0 / 1.098 GB, free: 2.203 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.715, allocations: 0 / 1.098 GB, free: 2.203 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.73e-05/0.7151, allocations: 15.98 kB / 1.098 GB, free: 2.188 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.387e-05/0.7151, allocations: 35.39 kB / 1.098 GB, free: 2.148 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.549e-06/0.7151, allocations: 0 / 1.098 GB, free: 2.148 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.7151, allocations: 0 / 1.098 GB, free: 2.148 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.7152, allocations: 10.09 kB / 1.098 GB, free: 2.141 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002463/0.7154, allocations: 223 kB / 1.098 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.338e-05/0.7155, allocations: 29.77 kB / 1.098 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.7155, allocations: 12.92 kB / 1.098 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.7155, allocations: 0 / 1.098 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.7155, allocations: 34.56 kB / 1.098 GB, free: 1.793 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.7155, allocations: 0 / 1.098 GB, free: 1.793 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001296/0.7157, allocations: 46.27 kB / 1.099 GB, free: 1.742 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.7157, allocations: 55.27 kB / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.447e-05/0.7158, allocations: 89.94 kB / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.7158, allocations: 26.36 kB / 1.099 GB, free: 1.555 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.841e-05/0.7158, allocations: 88.84 kB / 1.099 GB, free: 1.465 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.7158, allocations: 3.906 kB / 1.099 GB, free: 1.461 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.7158, allocations: 0.6562 kB / 1.099 GB, free: 1.461 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.988e-05/0.7159, allocations: 315.5 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.716, allocations: 4.781 kB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.086e-05/0.716, allocations: 4 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.537e-05/0.716, allocations: 4.688 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.716, allocations: 0.5938 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.7e-05/0.7161, allocations: 46.56 kB / 1.099 GB, free: 1.082 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.7161, allocations: 4 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.7161, allocations: 4 kB / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/0.7161, allocations: 0.8125 kB / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.768e-05/0.7162, allocations: 19.3 kB / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.7162, allocations: 1.438 kB / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.445e-05/0.7163, allocations: 9.062 kB / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.7163, allocations: 0.75 kB / 1.099 GB, free: 1.051 MB / 0.698 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 4.987e-05/0.7164, allocations: 106 kB / 1.099 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.7164, allocations: 7.906 kB / 1.099 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.7164, allocations: 11.3 kB / 1.099 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.7164, allocations: 0 / 1.099 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.7164, allocations: 1.406 kB / 1.099 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.7164, allocations: 0.6562 kB / 1.099 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.7166, allocations: 134.1 kB / 1.099 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.7166, allocations: 0 / 1.099 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.252e-05/0.7166, allocations: 23.98 kB / 1.099 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.7167, allocations: 0 / 1.099 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.7167, allocations: 3.609 kB / 1.099 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.7167, allocations: 0 / 1.099 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7167, allocations: 0 / 1.099 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.703e-05/0.7168, allocations: 139.5 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001728/0.717, allocations: 0.4999 MB / 1.1 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.717, allocations: 93 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.717, allocations: 2.25 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.515e-05/0.7171, allocations: 4.562 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.7172, allocations: 7.984 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.7172, allocations: 6 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.828e-05/0.7172, allocations: 79.94 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007306/0.7179, allocations: 4 kB / 1.1 GB, free: 15.85 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.0001104/0.7181, allocations: 103 kB / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.349e-05/0.7181, allocations: 12 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.7181, allocations: 0 / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.199e-05/0.7182, allocations: 15.92 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.7183, allocations: 10.22 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00017/0.7185, allocations: 62.52 kB / 1.1 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.7187, allocations: 0.6841 MB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.7187, allocations: 4 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)