Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.862/2.862, allocations: 284.8 MB / 292.1 MB, free: 10.71 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.00163/0.00163, allocations: 189.2 kB / 360.3 MB, free: 7.527 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.807/1.807, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001209/0.001209, allocations: 92.22 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2806/0.2818, allocations: 121.4 MB / 0.8502 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6286/0.9104, allocations: 115.2 MB / 0.9628 GB, free: 78.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2175/1.128, allocations: 137.2 MB / 1.097 GB, free: 3.695 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/1.128, allocations: 76.7 kB / 1.097 GB, free: 3.621 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.02601/1.154, allocations: 5.053 MB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/1.154, allocations: 9.094 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.767e-05/1.154, allocations: 8.625 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/1.155, allocations: 163 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/1.155, allocations: 0.6562 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/1.155, allocations: 11.89 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.119e-05/1.155, allocations: 20.52 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/1.155, allocations: 46.47 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/1.155, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/1.155, allocations: 0.625 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/1.155, allocations: 4 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/1.155, allocations: 144.4 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.088e-05/1.155, allocations: 35.72 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.504e-05/1.155, allocations: 28.84 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009941/1.156, allocations: 455.3 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/1.156, allocations: 39.3 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.645e-06/1.156, allocations: 0 / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001511/1.158, allocations: 0.5252 MB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/1.158, allocations: 51.41 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.456e-05/1.158, allocations: 89 kB / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/1.158, allocations: 25.7 kB / 1.103 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/1.158, allocations: 88.12 kB / 1.103 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/1.158, allocations: 35.47 kB / 1.103 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/1.158, allocations: 0.6562 kB / 1.103 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.158, allocations: 318.8 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.158e-05/1.159, allocations: 20 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.779e-05/1.159, allocations: 16 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/1.159, allocations: 26.86 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.159, allocations: 0 / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002937/1.159, allocations: 85.59 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/1.159, allocations: 9.344 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.159, allocations: 0 / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.159, allocations: 0 / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/1.159, allocations: 27.98 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/1.159, allocations: 0 / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.518e-05/1.159, allocations: 0 / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/1.16, allocations: 4 kB / 1.104 GB, free: 12.04 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 (13): * Single equations (assignments): 13 * 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 0.0001049/1.16, allocations: 109 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/1.16, allocations: 4 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003652/1.16, allocations: 110.5 kB / 1.104 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/1.16, allocations: 4 kB / 1.104 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.16, allocations: 0 / 1.104 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.16, allocations: 4 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005717/1.161, allocations: 317.1 kB / 1.104 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/1.161, allocations: 0 / 1.104 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/1.161, allocations: 27.78 kB / 1.104 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/1.161, allocations: 0 / 1.104 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/1.161, allocations: 7.984 kB / 1.104 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/1.161, allocations: 0 / 1.104 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.161, allocations: 0 / 1.104 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004064/1.161, allocations: 206 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005985/1.162, allocations: 0.6092 MB / 1.105 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.028e-05/1.162, allocations: 85.2 kB / 1.105 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/1.162, allocations: 3.984 kB / 1.105 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/1.162, allocations: 3.984 kB / 1.105 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/1.162, allocations: 9.938 kB / 1.105 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/1.162, allocations: 11.98 kB / 1.105 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.792e-05/1.162, allocations: 75.28 kB / 1.105 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001269/1.164, allocations: 55.84 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0003883/1.164, allocations: 159.1 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002147/1.164, allocations: 60.09 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.164, allocations: 0 / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.938e-05/1.165, allocations: 31.94 kB / 1.106 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/1.165, allocations: 6.891 kB / 1.106 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/1.165, allocations: 121.3 kB / 1.106 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004019/1.166, allocations: 0.7036 MB / 1.107 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of SimCode: time 8.42e-07/1.166, allocations: 0 / 1.107 GB, free: 9.188 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)