Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.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: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign") [: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.504/1.504, allocations: 289.8 MB / 297.1 MB, free: 6.648 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.001195/0.001195, allocations: 169.4 kB / 366.3 MB, free: 1.977 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.193/1.193, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0008463/0.0008463, allocations: 96.5 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.768e-06/9.799e-06, allocations: 4 kB / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5401/0.5401, allocations: 116.3 MB / 0.9726 GB, free: 68.03 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1647/0.7048, allocations: 138.1 MB / 1.107 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.7051, allocations: 91.86 kB / 1.108 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.001348/0.7065, allocations: 311.8 kB / 1.108 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.7065, allocations: 4 kB / 1.108 GB, free: 9.992 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003113/0.7068, allocations: 334.9 kB / 1.108 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.7069, allocations: 9.625 kB / 1.108 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.7069, allocations: 3.906 kB / 1.108 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.707, allocations: 163.1 kB / 1.108 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.707, allocations: 0 / 1.108 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.7071, allocations: 0 / 1.108 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.571e-05/0.7071, allocations: 19.94 kB / 1.108 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.248e-05/0.7072, allocations: 33.69 kB / 1.108 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.7072, allocations: 0 / 1.108 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.7072, allocations: 3.906 kB / 1.108 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.7072, allocations: 0 / 1.108 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.7076, allocations: 245.5 kB / 1.109 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.249e-05/0.7077, allocations: 22.48 kB / 1.109 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.428e-05/0.7077, allocations: 12.8 kB / 1.109 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.7077, allocations: 0 / 1.109 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.7078, allocations: 42.66 kB / 1.109 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 2.435e-06/0.7078, allocations: 3.984 kB / 1.109 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001293/0.7079, allocations: 33.7 kB / 1.109 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.7079, allocations: 53 kB / 1.109 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.7081, allocations: 89 kB / 1.109 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.7081, allocations: 25.7 kB / 1.109 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.7081, allocations: 84.14 kB / 1.109 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.7081, allocations: 11.89 kB / 1.109 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-06/0.7082, allocations: 0 / 1.109 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.7083, allocations: 314.9 kB / 1.109 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/0.7083, allocations: 4 kB / 1.109 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-06/0.7083, allocations: 0 / 1.109 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.68e-05/0.7083, allocations: 11.94 kB / 1.109 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.7083, allocations: 0 / 1.109 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.939e-05/0.7084, allocations: 29.7 kB / 1.109 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.7084, allocations: 11.91 kB / 1.109 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.7084, allocations: 0 / 1.109 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.7084, allocations: 4.094 kB / 1.109 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/0.7085, allocations: 15.92 kB / 1.109 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.7085, allocations: 0 / 1.109 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.474e-05/0.7086, allocations: 17.14 kB / 1.109 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.7086, allocations: 0 / 1.109 GB, free: 8.23 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 (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 6.126e-05/0.7087, allocations: 105 kB / 1.109 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.7087, allocations: 7.906 kB / 1.11 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.101e-05/0.7088, allocations: 3.156 kB / 1.11 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.7088, allocations: 4 kB / 1.11 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.7088, allocations: 0 / 1.11 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.7088, allocations: 0 / 1.11 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.7089, allocations: 130.2 kB / 1.11 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7089, allocations: 4 kB / 1.11 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.208e-05/0.709, allocations: 15.98 kB / 1.11 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.709, allocations: 0 / 1.11 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.709, allocations: 0 / 1.11 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.709, allocations: 4.844 kB / 1.11 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.709, allocations: 3.938 kB / 1.11 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001157/0.7091, allocations: 135.5 kB / 1.11 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.7092, allocations: 81.02 kB / 1.11 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.7092, allocations: 4.031 kB / 1.11 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/0.7093, allocations: 11.98 kB / 1.11 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.7093, allocations: 0 / 1.11 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.7093, allocations: 0 / 1.11 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.349e-05/0.7094, allocations: 79.28 kB / 1.11 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002013/0.7096, allocations: 4 kB / 1.11 GB, free: 7.566 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 0.0001251/0.7097, allocations: 100.2 kB / 1.11 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.003e-05/0.7098, allocations: 11.98 kB / 1.11 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7098, allocations: 4 kB / 1.11 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.844e-05/0.7098, allocations: 3.938 kB / 1.11 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.71, allocations: 4.688 kB / 1.11 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001967/0.7102, allocations: 59.83 kB / 1.11 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.7105, allocations: 0.6888 MB / 1.111 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of SimCode: time 1.433e-06/0.7105, allocations: 0 / 1.111 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of Templates: time 0.001957/0.7125, allocations: 381.5 kB / 1.111 GB, free: 6.297 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1)