Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.916/1.916, allocations: 387.2 MB / 394.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 181.3 kB / 487 MB, free: 5.355 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.225/1.225, allocations: 221.3 MB / 0.7819 GB, free: 1.348 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009173/0.0009173, allocations: 98.31 kB / 0.9213 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4759/0.4768, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.686, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5914/1.277, allocations: 148.6 MB / 1.35 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/1.278, allocations: 76.33 kB / 1.351 GB, free: 15.75 MB / 0.8073 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.01453/1.292, allocations: 5.082 MB / 1.355 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.292, allocations: 9.5 kB / 1.355 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.417e-05/1.292, allocations: 10.39 kB / 1.355 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.598e-05/1.292, allocations: 169.8 kB / 1.356 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/1.293, allocations: 4.844 kB / 1.356 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/1.293, allocations: 6.875 kB / 1.356 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.512e-05/1.293, allocations: 17.05 kB / 1.356 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.78e-05/1.293, allocations: 45.09 kB / 1.356 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/1.293, allocations: 0.7188 kB / 1.356 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/1.293, allocations: 0.6875 kB / 1.356 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/1.293, allocations: 0.9062 kB / 1.356 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001367/1.293, allocations: 142 kB / 1.356 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.556e-05/1.293, allocations: 42.34 kB / 1.356 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/1.293, allocations: 25.45 kB / 1.356 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005682/1.294, allocations: 466.1 kB / 1.356 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/1.294, allocations: 35.44 kB / 1.356 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/1.294, allocations: 0 / 1.356 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.000952/1.295, allocations: 0.5201 MB / 1.357 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.756e-05/1.295, allocations: 53.62 kB / 1.357 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.646e-05/1.295, allocations: 92.88 kB / 1.357 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/1.295, allocations: 25.7 kB / 1.357 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.488e-05/1.295, allocations: 82.52 kB / 1.357 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/1.295, allocations: 37.11 kB / 1.357 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/1.295, allocations: 1.344 kB / 1.357 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.657e-05/1.295, allocations: 317.9 kB / 1.357 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.688e-05/1.295, allocations: 21.66 kB / 1.358 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.565e-05/1.295, allocations: 20.39 kB / 1.358 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.544e-05/1.295, allocations: 29.55 kB / 1.358 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/1.295, allocations: 3.938 kB / 1.358 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001855/1.295, allocations: 85.41 kB / 1.358 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/1.295, allocations: 4.344 kB / 1.358 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/1.295, allocations: 0.7188 kB / 1.358 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/1.295, allocations: 1 kB / 1.358 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/1.295, allocations: 29.28 kB / 1.358 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/1.295, allocations: 1.031 kB / 1.358 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.482e-05/1.295, allocations: 0 / 1.358 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/1.295, allocations: 6.438 kB / 1.358 GB, free: 13.04 MB / 0.8073 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.659e-05/1.295, allocations: 111.9 kB / 1.358 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/1.296, allocations: 3.25 kB / 1.358 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/1.296, allocations: 93.98 kB / 1.358 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/1.296, allocations: 5.469 kB / 1.358 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/1.296, allocations: 4 kB / 1.358 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.296, allocations: 0.5625 kB / 1.358 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/1.296, allocations: 321.8 kB / 1.358 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.296, allocations: 0.7812 kB / 1.358 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/1.296, allocations: 21.38 kB / 1.358 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/1.296, allocations: 4.938 kB / 1.358 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/1.296, allocations: 4.906 kB / 1.358 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.296, allocations: 0.9375 kB / 1.358 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.296, allocations: 0 / 1.358 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002457/1.297, allocations: 215.9 kB / 1.358 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000287/1.297, allocations: 0.5994 MB / 1.359 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/1.297, allocations: 89.3 kB / 1.359 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/1.297, allocations: 1.359 kB / 1.359 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.873e-05/1.297, allocations: 2.812 kB / 1.359 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/1.297, allocations: 12.2 kB / 1.359 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/1.297, allocations: 6.75 kB / 1.359 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.753e-05/1.297, allocations: 78.78 kB / 1.359 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008526/1.298, allocations: 56.19 kB / 1.359 GB, free: 11.76 MB / 0.8073 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.0002455/1.298, allocations: 162.9 kB / 1.359 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001248/1.298, allocations: 53.8 kB / 1.359 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.298, allocations: 0 / 1.359 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.378e-05/1.298, allocations: 32.41 kB / 1.359 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/1.298, allocations: 4.875 kB / 1.359 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/1.299, allocations: 117.1 kB / 1.36 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/1.299, allocations: 0.7093 MB / 1.36 GB, free: 26.86 MB / 0.823 GB Notification: Performance of SimCode: time 3.8e-07/1.299, allocations: 0 / 1.36 GB, free: 26.86 MB / 0.823 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat does not exist to compare? outputFormat=mat