Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.157/2.157, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001628/0.001628, allocations: 191.7 kB / 360.3 MB, free: 7.555 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.673/1.673, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001226/0.001226, allocations: 92.83 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2434/0.2447, allocations: 121.4 MB / 0.8502 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5756/0.8204, allocations: 115.2 MB / 0.9628 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2043/1.025, allocations: 136.5 MB / 1.096 GB, free: 4.34 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/1.025, allocations: 69.12 kB / 1.096 GB, free: 4.273 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.0026/1.028, allocations: 0.6519 MB / 1.097 GB, free: 3.609 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/1.028, allocations: 12.25 kB / 1.097 GB, free: 3.602 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/1.028, allocations: 9.312 kB / 1.097 GB, free: 3.594 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/1.028, allocations: 163.1 kB / 1.097 GB, free: 3.395 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/1.028, allocations: 1.125 kB / 1.097 GB, free: 3.395 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/1.028, allocations: 0 / 1.097 GB, free: 3.395 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001097/1.028, allocations: 12.72 kB / 1.097 GB, free: 3.383 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.519e-05/1.028, allocations: 34.45 kB / 1.097 GB, free: 3.344 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/1.028, allocations: 0.5938 kB / 1.097 GB, free: 3.344 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/1.028, allocations: 4.594 kB / 1.097 GB, free: 3.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/1.028, allocations: 3.984 kB / 1.097 GB, free: 3.336 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/1.029, allocations: 230.7 kB / 1.097 GB, free: 3.074 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.768e-05/1.029, allocations: 28.77 kB / 1.097 GB, free: 3.039 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.132e-05/1.029, allocations: 12.86 kB / 1.097 GB, free: 3.023 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/1.029, allocations: 0.5625 kB / 1.097 GB, free: 3.023 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/1.029, allocations: 36.09 kB / 1.097 GB, free: 2.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.334e-06/1.029, allocations: 0 / 1.097 GB, free: 2.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001801/1.029, allocations: 40.44 kB / 1.097 GB, free: 2.938 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/1.029, allocations: 51.41 kB / 1.097 GB, free: 2.875 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.406e-05/1.029, allocations: 98.64 kB / 1.097 GB, free: 2.773 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/1.029, allocations: 26.23 kB / 1.098 GB, free: 2.742 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/1.029, allocations: 80.77 kB / 1.098 GB, free: 2.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/1.029, allocations: 7.906 kB / 1.098 GB, free: 2.652 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-06/1.029, allocations: 1 kB / 1.098 GB, free: 2.652 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.029, allocations: 315.4 kB / 1.098 GB, free: 2.336 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.296e-05/1.029, allocations: 4 kB / 1.098 GB, free: 2.332 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.805e-05/1.029, allocations: 0.6875 kB / 1.098 GB, free: 2.332 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.526e-05/1.03, allocations: 12.58 kB / 1.098 GB, free: 2.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/1.03, allocations: 8.031 kB / 1.098 GB, free: 2.312 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001045/1.03, allocations: 45.61 kB / 1.098 GB, free: 2.262 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/1.03, allocations: 4 kB / 1.098 GB, free: 2.258 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.03, allocations: 1.438 kB / 1.098 GB, free: 2.258 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/1.03, allocations: 0 / 1.098 GB, free: 2.258 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/1.03, allocations: 11.98 kB / 1.098 GB, free: 2.246 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.289e-06/1.03, allocations: 0 / 1.098 GB, free: 2.246 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/1.03, allocations: 16.02 kB / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/1.03, allocations: 3.938 kB / 1.098 GB, free: 2.227 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 8.025e-05/1.03, allocations: 112.7 kB / 1.098 GB, free: 2.109 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/1.03, allocations: 0 / 1.098 GB, free: 2.109 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/1.03, allocations: 3.312 kB / 1.098 GB, free: 2.105 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/1.03, allocations: 0 / 1.098 GB, free: 2.105 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.03, allocations: 1.453 kB / 1.098 GB, free: 2.105 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.03, allocations: 4 kB / 1.098 GB, free: 2.102 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/1.03, allocations: 138.1 kB / 1.098 GB, free: 1.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.03, allocations: 5.312 kB / 1.098 GB, free: 1.926 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/1.031, allocations: 11.98 kB / 1.098 GB, free: 1.914 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/1.031, allocations: 0 / 1.098 GB, free: 1.914 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/1.031, allocations: 0 / 1.098 GB, free: 1.914 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/1.031, allocations: 3.938 kB / 1.098 GB, free: 1.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.031, allocations: 0 / 1.098 GB, free: 1.91 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001528/1.031, allocations: 147.9 kB / 1.098 GB, free: 1.754 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002858/1.031, allocations: 0.5051 MB / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/1.031, allocations: 81.02 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/1.031, allocations: 1.688 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/1.031, allocations: 15.98 kB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/1.031, allocations: 0 / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/1.031, allocations: 0 / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.992e-05/1.031, allocations: 83.28 kB / 1.099 GB, free: 1.035 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001097/1.033, allocations: 7.938 kB / 1.099 GB, free: 1.027 MB / 0.698 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.0001694/1.033, allocations: 111.1 kB / 1.099 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.207e-05/1.033, allocations: 12 kB / 1.099 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.033, allocations: 0 / 1.099 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.143e-05/1.033, allocations: 4 kB / 1.099 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/1.033, allocations: 5.875 kB / 1.099 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002493/1.033, allocations: 62.58 kB / 1.099 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003316/1.034, allocations: 0.6879 MB / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of SimCode: time 7.62e-07/1.034, allocations: 8.125 kB / 1.1 GB, free: 92 kB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)