Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign",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.1-maint.8.0.x/package.mo): time 1.361/1.361, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001109/0.001109, allocations: 193.2 kB / 361.1 MB, free: 7.086 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.115/1.115, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.00085/0.00085, allocations: 81.81 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2042/0.2051, allocations: 121.5 MB / 0.8512 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4968/0.7019, allocations: 115.3 MB / 0.9638 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1496/0.8515, allocations: 137.2 MB / 1.098 GB, free: 2.773 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.8518, allocations: 89.38 kB / 1.098 GB, free: 2.688 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.001596/0.8534, allocations: 0.6388 MB / 1.098 GB, free: 2.035 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.8535, allocations: 9.75 kB / 1.098 GB, free: 2.027 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.8535, allocations: 9.5 kB / 1.098 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.878e-05/0.8536, allocations: 168 kB / 1.099 GB, free: 1.816 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.8536, allocations: 0 / 1.099 GB, free: 1.816 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.8537, allocations: 0 / 1.099 GB, free: 1.816 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.52e-05/0.8537, allocations: 15.97 kB / 1.099 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.428e-05/0.8538, allocations: 33.7 kB / 1.099 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.8538, allocations: 0 / 1.099 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.8538, allocations: 7.891 kB / 1.099 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.8538, allocations: 2.312 kB / 1.099 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.8542, allocations: 237.4 kB / 1.099 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.181e-05/0.8542, allocations: 30.42 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.8542, allocations: 4.859 kB / 1.099 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.8542, allocations: 7.969 kB / 1.099 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.8543, allocations: 30.56 kB / 1.099 GB, free: 1.402 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.8543, allocations: 0 / 1.099 GB, free: 1.402 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001228/0.8544, allocations: 33.7 kB / 1.099 GB, free: 1.363 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.8544, allocations: 55.39 kB / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.204e-05/0.8545, allocations: 95.83 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.8545, allocations: 25.7 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/0.8545, allocations: 88.98 kB / 1.099 GB, free: 1.082 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.8546, allocations: 3.906 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-06/0.8546, allocations: 0.8125 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.217e-05/0.8547, allocations: 311.4 kB / 1.1 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.8547, allocations: 7.938 kB / 1.1 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.033e-05/0.8547, allocations: 4.938 kB / 1.1 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.419e-05/0.8547, allocations: 8.516 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.8547, allocations: 0.5312 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.591e-05/0.8548, allocations: 34.55 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.8548, allocations: 11.91 kB / 1.1 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.8548, allocations: 0 / 1.1 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.8548, allocations: 0.6875 kB / 1.1 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.966e-05/0.8549, allocations: 14.48 kB / 1.1 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.8549, allocations: 0 / 1.1 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.416e-05/0.855, allocations: 13.19 kB / 1.1 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.855, allocations: 0 / 1.1 GB, free: 0.6719 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 (1): * Single equations (assignments): 1 * 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 5.086e-05/0.855, allocations: 102.1 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.8551, allocations: 7.891 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.8551, allocations: 10.75 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.8551, allocations: 1.031 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.8551, allocations: 0.5625 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.8551, allocations: 1.594 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.8553, allocations: 135.5 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.8553, allocations: 0 / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.888e-05/0.8553, allocations: 17.02 kB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.8553, allocations: 0 / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.8553, allocations: 0.75 kB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.8554, allocations: 3.906 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8554, allocations: 4.125 kB / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.128e-05/0.8554, allocations: 127.6 kB / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001978/0.8557, allocations: 0.5024 MB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.8557, allocations: 82.73 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.8557, allocations: 4 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.38e-05/0.8558, allocations: 15.83 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.8558, allocations: 0.6562 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.8558, allocations: 4 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.957e-05/0.8559, allocations: 79.28 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007304/0.8566, allocations: 7.984 kB / 1.101 GB, free: 15.49 MB / 0.7136 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 (1): * Single equations (assignments): 1 * 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 8.889e-05/0.8567, allocations: 103.6 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.124e-05/0.8568, allocations: 8 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.8568, allocations: 0 / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.831e-05/0.8568, allocations: 8 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.857, allocations: 1.5 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001706/0.8571, allocations: 60.67 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.8574, allocations: 0.6926 MB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.8574, allocations: 0 / 1.102 GB, free: 14.57 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1)