Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.263/2.263, allocations: 253.1 MB / 260.4 MB, free: 7.672 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001674/0.001674, allocations: 189.2 kB / 319.6 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.999/1.999, allocations: 205.4 MB / 0.5704 GB, free: 15.03 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001278/0.001278, allocations: 97.34 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.165e-05/1.186e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2153, allocations: 106.3 MB / 0.8881 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7744/0.9897, allocations: 131.3 MB / 1.016 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.99, allocations: 66.22 kB / 1.016 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002104/0.9921, allocations: 310.5 kB / 1.017 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.9922, allocations: 0 / 1.017 GB, free: 6.629 MB / 0.6355 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.000467/0.9926, allocations: 342.5 kB / 1.017 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.9927, allocations: 8.031 kB / 1.017 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.9928, allocations: 0.75 kB / 1.017 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.9929, allocations: 167.1 kB / 1.017 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.993, allocations: 3.906 kB / 1.017 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.993, allocations: 0 / 1.017 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.621e-05/0.9931, allocations: 7.312 kB / 1.017 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.178e-05/0.9932, allocations: 37.08 kB / 1.017 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.9932, allocations: 0 / 1.017 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.9932, allocations: 5.875 kB / 1.017 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.9933, allocations: 0 / 1.017 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005824/0.9938, allocations: 252.4 kB / 1.017 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.299e-05/0.9939, allocations: 18.58 kB / 1.018 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.159e-05/0.994, allocations: 8.172 kB / 1.018 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-06/0.994, allocations: 0.8438 kB / 1.018 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.994, allocations: 34.62 kB / 1.018 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 2.705e-06/0.994, allocations: 0 / 1.018 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001614/0.9942, allocations: 36.27 kB / 1.018 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.9943, allocations: 55.44 kB / 1.018 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.88e-05/0.9943, allocations: 100.5 kB / 1.018 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.9944, allocations: 25.7 kB / 1.018 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.9944, allocations: 84.14 kB / 1.018 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.9944, allocations: 3.5 kB / 1.018 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-06/0.9945, allocations: 3.938 kB / 1.018 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.9946, allocations: 310.8 kB / 1.018 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.9947, allocations: 0 / 1.018 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/0.9947, allocations: 11.44 kB / 1.018 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.86e-05/0.9947, allocations: 0 / 1.018 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.9947, allocations: 7.906 kB / 1.018 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.147e-05/0.9948, allocations: 37.12 kB / 1.018 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.9949, allocations: 4 kB / 1.018 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.9949, allocations: 4 kB / 1.018 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.9949, allocations: 0 / 1.018 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.9951, allocations: 12.09 kB / 1.018 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.9951, allocations: 3.938 kB / 1.018 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.331e-05/0.9952, allocations: 11.92 kB / 1.018 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.9952, allocations: 4 kB / 1.018 GB, free: 4.902 MB / 0.6355 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 8.542e-05/0.9953, allocations: 107.5 kB / 1.018 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.9953, allocations: 192 / 1.018 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.9954, allocations: 11.09 kB / 1.018 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.9954, allocations: 4 kB / 1.018 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.9954, allocations: 11.92 kB / 1.018 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.9954, allocations: 0 / 1.018 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.9956, allocations: 133.6 kB / 1.018 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.9956, allocations: 4 kB / 1.018 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.928e-05/0.9957, allocations: 8 kB / 1.018 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.9957, allocations: 4.734 kB / 1.019 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.9958, allocations: 4 kB / 1.019 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.9958, allocations: 0 / 1.019 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.9958, allocations: 0 / 1.019 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001335/0.9959, allocations: 130.3 kB / 1.019 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.996, allocations: 80.48 kB / 1.019 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.996, allocations: 4 kB / 1.019 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.9962, allocations: 16.02 kB / 1.019 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.9962, allocations: 0 / 1.019 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.9962, allocations: 3.938 kB / 1.019 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.568e-05/0.9963, allocations: 83.27 kB / 1.019 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002895/0.9966, allocations: 7.906 kB / 1.019 GB, free: 4.238 MB / 0.6355 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.0001667/0.9967, allocations: 95.25 kB / 1.019 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.9969, allocations: 11.38 kB / 1.019 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.9969, allocations: 4.062 kB / 1.019 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.932e-05/0.9969, allocations: 7.25 kB / 1.019 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.9972, allocations: 4.641 kB / 1.019 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.9974, allocations: 59.77 kB / 1.019 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/0.9978, allocations: 0.6874 MB / 1.02 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of SimCode: time 8.21e-07/0.9978, allocations: 3.938 kB / 1.02 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of Templates: time 0.002904/1.001, allocations: 367.6 kB / 1.02 GB, free: 2.965 MB / 0.6355 GB