Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.834/1.834, allocations: 390.4 MB / 397.7 MB, free: 10.63 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 188.9 kB / 490.8 MB, free: 11.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 221.4 MB / 0.7863 GB, free: 13.49 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001001, allocations: 98.86 kB / 0.9264 GB, free: 4.465 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2814/0.2825, allocations: 149.2 MB / 1.072 GB, free: 15.39 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5678/0.8502, allocations: 143 MB / 1.212 GB, free: 156.2 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1454/0.9957, allocations: 149.4 MB / 1.358 GB, free: 42.23 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.9959, allocations: 76.64 kB / 1.358 GB, free: 42.16 MB / 0.8855 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.01309/1.009, allocations: 5.111 MB / 1.363 GB, free: 37.04 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/1.009, allocations: 10.34 kB / 1.363 GB, free: 37.03 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.49e-05/1.009, allocations: 8.906 kB / 1.363 GB, free: 37.02 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.083e-05/1.009, allocations: 163 kB / 1.363 GB, free: 36.82 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/1.009, allocations: 4 kB / 1.363 GB, free: 36.82 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/1.009, allocations: 0.9062 kB / 1.363 GB, free: 36.82 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.922e-05/1.009, allocations: 16 kB / 1.363 GB, free: 36.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.317e-05/1.009, allocations: 58.11 kB / 1.363 GB, free: 36.74 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/1.009, allocations: 0.7188 kB / 1.363 GB, free: 36.74 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/1.009, allocations: 5.75 kB / 1.363 GB, free: 36.74 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/1.01, allocations: 4.547 kB / 1.363 GB, free: 36.73 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/1.01, allocations: 138.9 kB / 1.363 GB, free: 36.56 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.878e-05/1.01, allocations: 34.25 kB / 1.363 GB, free: 36.52 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/1.01, allocations: 25.86 kB / 1.363 GB, free: 36.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005316/1.01, allocations: 462.5 kB / 1.364 GB, free: 35.96 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/1.01, allocations: 35.72 kB / 1.364 GB, free: 35.91 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/1.01, allocations: 0 / 1.364 GB, free: 35.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0009259/1.011, allocations: 0.521 MB / 1.364 GB, free: 35.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.494e-05/1.011, allocations: 51.41 kB / 1.364 GB, free: 35.24 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.441e-05/1.011, allocations: 93.67 kB / 1.364 GB, free: 35.14 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/1.011, allocations: 26.36 kB / 1.364 GB, free: 35.11 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.293e-05/1.011, allocations: 84.14 kB / 1.364 GB, free: 35.03 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/1.011, allocations: 47.58 kB / 1.364 GB, free: 34.98 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/1.011, allocations: 0.875 kB / 1.364 GB, free: 34.98 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 3.822e-05/1.011, allocations: 318.8 kB / 1.365 GB, free: 34.66 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.103e-05/1.011, allocations: 20.75 kB / 1.365 GB, free: 34.64 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.568e-05/1.012, allocations: 12 kB / 1.365 GB, free: 34.63 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.716e-05/1.012, allocations: 32.89 kB / 1.365 GB, free: 34.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/1.012, allocations: 0 / 1.365 GB, free: 34.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001582/1.012, allocations: 82.41 kB / 1.365 GB, free: 34.52 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/1.012, allocations: 8 kB / 1.365 GB, free: 34.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/1.012, allocations: 0.625 kB / 1.365 GB, free: 34.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/1.012, allocations: 0 / 1.365 GB, free: 34.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/1.012, allocations: 25.64 kB / 1.365 GB, free: 34.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/1.012, allocations: 4 kB / 1.365 GB, free: 34.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.462e-05/1.012, allocations: 0 / 1.365 GB, free: 34.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/1.012, allocations: 4 kB / 1.365 GB, free: 34.48 MB / 0.8855 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 4.843e-05/1.012, allocations: 103.4 kB / 1.365 GB, free: 34.37 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/1.012, allocations: 7.906 kB / 1.365 GB, free: 34.36 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/1.012, allocations: 106.1 kB / 1.365 GB, free: 34.27 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.012, allocations: 0 / 1.365 GB, free: 34.27 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.012, allocations: 8.062 kB / 1.365 GB, free: 34.26 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.012, allocations: 7.844 kB / 1.365 GB, free: 34.25 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/1.013, allocations: 308.3 kB / 1.365 GB, free: 33.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.013, allocations: 0 / 1.365 GB, free: 33.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/1.013, allocations: 28.47 kB / 1.365 GB, free: 33.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.013, allocations: 0 / 1.365 GB, free: 33.88 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/1.013, allocations: 0.5 kB / 1.365 GB, free: 33.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.013, allocations: 4.469 kB / 1.365 GB, free: 33.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.013, allocations: 7.984 kB / 1.365 GB, free: 33.87 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002254/1.013, allocations: 201.5 kB / 1.366 GB, free: 33.66 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002763/1.013, allocations: 0.6044 MB / 1.366 GB, free: 33.04 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/1.013, allocations: 89 kB / 1.366 GB, free: 32.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/1.013, allocations: 1.094 kB / 1.366 GB, free: 32.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/1.014, allocations: 11.98 kB / 1.366 GB, free: 32.92 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/1.014, allocations: 1.031 kB / 1.366 GB, free: 32.92 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.964e-06/1.014, allocations: 4 kB / 1.366 GB, free: 32.92 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.079e-05/1.014, allocations: 83.83 kB / 1.366 GB, free: 32.84 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000826/1.014, allocations: 51.94 kB / 1.366 GB, free: 32.79 MB / 0.8855 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.0002289/1.015, allocations: 156 kB / 1.367 GB, free: 32.62 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001064/1.015, allocations: 56.61 kB / 1.367 GB, free: 32.57 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.015, allocations: 5.875 kB / 1.367 GB, free: 32.57 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.586e-05/1.015, allocations: 28 kB / 1.367 GB, free: 32.54 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/1.015, allocations: 5.781 kB / 1.367 GB, free: 32.54 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/1.015, allocations: 129.4 kB / 1.367 GB, free: 32.39 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/1.015, allocations: 0.7044 MB / 1.367 GB, free: 31.66 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/1.015, allocations: 0 / 1.367 GB, free: 31.66 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat does not exist to compare? outputFormat=mat