Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.617/1.617, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.001232/0.001232, allocations: 185.3 kB / 366.3 MB, free: 2.023 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.484/1.484, allocations: 205.1 MB / 0.6256 GB, free: 7.559 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.0008944/0.0008943, allocations: 91.11 kB / 0.7396 GB, free: 39.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2599/0.2608, allocations: 122.4 MB / 0.8591 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6515/0.9123, allocations: 116.3 MB / 0.9727 GB, free: 76.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1742/1.087, allocations: 138.2 MB / 1.108 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/1.087, allocations: 75.94 kB / 1.108 GB, free: 12.24 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.01401/1.101, allocations: 4.518 MB / 1.112 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/1.101, allocations: 12.64 kB / 1.112 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.341e-05/1.101, allocations: 4 kB / 1.112 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/1.101, allocations: 163.6 kB / 1.112 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/1.101, allocations: 0.7188 kB / 1.112 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/1.101, allocations: 0 / 1.112 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.376e-05/1.101, allocations: 4.875 kB / 1.112 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.965e-05/1.101, allocations: 31.02 kB / 1.112 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/1.101, allocations: 0.5312 kB / 1.112 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/1.101, allocations: 0.6562 kB / 1.112 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/1.101, allocations: 3.984 kB / 1.112 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/1.102, allocations: 134.8 kB / 1.112 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.998e-05/1.102, allocations: 24.14 kB / 1.112 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.042e-05/1.102, allocations: 6.797 kB / 1.112 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006793/1.102, allocations: 463 kB / 1.113 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/1.102, allocations: 34.56 kB / 1.113 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/1.102, allocations: 4 kB / 1.113 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0005977/1.103, allocations: 242.3 kB / 1.113 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/1.103, allocations: 55.39 kB / 1.113 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.019e-05/1.103, allocations: 89 kB / 1.113 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/1.103, allocations: 29.95 kB / 1.113 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.039e-05/1.103, allocations: 80.8 kB / 1.113 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/1.103, allocations: 7.906 kB / 1.113 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/1.103, allocations: 0 / 1.113 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.103, allocations: 318.8 kB / 1.114 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/1.103, allocations: 0 / 1.114 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.842e-05/1.103, allocations: 21.7 kB / 1.114 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.706e-05/1.103, allocations: 12 kB / 1.114 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.12e-07/1.103, allocations: 0.9375 kB / 1.114 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001218/1.104, allocations: 49.62 kB / 1.114 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/1.104, allocations: 8 kB / 1.114 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/1.104, allocations: 0 / 1.114 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/1.104, allocations: 0 / 1.114 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.298e-05/1.104, allocations: 11.94 kB / 1.114 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/1.104, allocations: 0 / 1.114 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.02e-05/1.104, allocations: 0 / 1.114 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-06/1.104, allocations: 0 / 1.114 GB, free: 5.664 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.187e-05/1.104, allocations: 113 kB / 1.114 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/1.104, allocations: 0.9375 kB / 1.114 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/1.104, allocations: 57.95 kB / 1.114 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/1.104, allocations: 192 / 1.114 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.104, allocations: 4 kB / 1.114 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/1.104, allocations: 11.89 kB / 1.114 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/1.104, allocations: 130.2 kB / 1.114 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.104, allocations: 4 kB / 1.114 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/1.104, allocations: 6.656 kB / 1.114 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/1.104, allocations: 0 / 1.114 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/1.104, allocations: 0 / 1.114 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.104, allocations: 0 / 1.114 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.104, allocations: 0 / 1.114 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001666/1.104, allocations: 80.97 kB / 1.114 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003233/1.105, allocations: 469.9 kB / 1.115 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/1.105, allocations: 77.11 kB / 1.115 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/1.105, allocations: 0 / 1.115 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.214e-05/1.105, allocations: 4 kB / 1.115 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/1.105, allocations: 0 / 1.115 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/1.105, allocations: 0.6562 kB / 1.115 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.389e-05/1.105, allocations: 87.42 kB / 1.115 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000791/1.106, allocations: 39.84 kB / 1.115 GB, free: 4.488 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002788/1.106, allocations: 136.8 kB / 1.115 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.266e-05/1.106, allocations: 15.94 kB / 1.115 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.106, allocations: 0 / 1.115 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.75e-05/1.106, allocations: 12 kB / 1.115 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001081/1.106, allocations: 2.078 kB / 1.115 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002098/1.106, allocations: 68.48 kB / 1.115 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/1.107, allocations: 0.6954 MB / 1.116 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/1.107, allocations: 7.938 kB / 1.116 GB, free: 3.5 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)