Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.316/2.316, allocations: 284.8 MB / 292.1 MB, free: 10.83 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.00168/0.001679, allocations: 185.3 kB / 360.3 MB, free: 7.57 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.821/1.821, allocations: 205.1 MB / 0.6187 GB, free: 13.25 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.001184/0.001183, allocations: 88.98 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2746/0.2758, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6355/0.9114, allocations: 115.2 MB / 0.9628 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2758/1.187, allocations: 137 MB / 1.097 GB, free: 3.863 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003358/1.188, allocations: 88.88 kB / 1.097 GB, free: 3.777 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.002498/1.19, allocations: 0.6364 MB / 1.097 GB, free: 3.129 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/1.19, allocations: 12 kB / 1.097 GB, free: 3.117 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/1.19, allocations: 3.906 kB / 1.097 GB, free: 3.113 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/1.19, allocations: 163.1 kB / 1.097 GB, free: 2.914 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/1.191, allocations: 7.906 kB / 1.097 GB, free: 2.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/1.191, allocations: 3.969 kB / 1.097 GB, free: 2.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.111e-05/1.191, allocations: 8 kB / 1.097 GB, free: 2.902 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.268e-05/1.191, allocations: 38.28 kB / 1.097 GB, free: 2.859 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/1.191, allocations: 0.6562 kB / 1.097 GB, free: 2.859 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/1.191, allocations: 3.906 kB / 1.097 GB, free: 2.855 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/1.191, allocations: 0.5625 kB / 1.097 GB, free: 2.855 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005236/1.191, allocations: 245.2 kB / 1.098 GB, free: 2.582 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.373e-05/1.191, allocations: 24.17 kB / 1.098 GB, free: 2.551 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.341e-05/1.191, allocations: 11.33 kB / 1.098 GB, free: 2.539 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/1.191, allocations: 0 / 1.098 GB, free: 2.539 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/1.191, allocations: 35.19 kB / 1.098 GB, free: 2.496 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 2.455e-06/1.192, allocations: 1.188 kB / 1.098 GB, free: 2.496 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001581/1.192, allocations: 38.92 kB / 1.098 GB, free: 2.453 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/1.192, allocations: 55.34 kB / 1.098 GB, free: 2.387 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.391e-05/1.192, allocations: 94.3 kB / 1.098 GB, free: 2.289 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/1.192, allocations: 25.7 kB / 1.098 GB, free: 2.258 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/1.192, allocations: 80.89 kB / 1.098 GB, free: 2.176 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/1.192, allocations: 3.906 kB / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/1.192, allocations: 0.6875 kB / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.192, allocations: 319.5 kB / 1.098 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.121e-05/1.192, allocations: 4.594 kB / 1.098 GB, free: 1.848 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/1.192, allocations: 4.75 kB / 1.098 GB, free: 1.844 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.837e-05/1.192, allocations: 0 / 1.098 GB, free: 1.844 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.192, allocations: 0.5 kB / 1.098 GB, free: 1.844 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.824e-05/1.192, allocations: 38.42 kB / 1.098 GB, free: 1.801 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.192, allocations: 8.625 kB / 1.098 GB, free: 1.793 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.192, allocations: 0 / 1.098 GB, free: 1.793 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/1.192, allocations: 0.875 kB / 1.098 GB, free: 1.793 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/1.192, allocations: 13.11 kB / 1.098 GB, free: 1.781 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.192, allocations: 0 / 1.098 GB, free: 1.781 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.782e-05/1.193, allocations: 23.98 kB / 1.098 GB, free: 1.758 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/1.193, allocations: 0 / 1.098 GB, free: 1.758 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 7.2e-05/1.193, allocations: 108.7 kB / 1.099 GB, free: 1.645 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/1.193, allocations: 8.781 kB / 1.099 GB, free: 1.637 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/1.193, allocations: 4.047 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.193, allocations: 0 / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.193, allocations: 0.8438 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.193, allocations: 4 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/1.193, allocations: 134.2 kB / 1.099 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/1.193, allocations: 0 / 1.099 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/1.193, allocations: 13.42 kB / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/1.193, allocations: 0 / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/1.193, allocations: 0 / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/1.193, allocations: 7.906 kB / 1.099 GB, free: 1.441 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.193, allocations: 0 / 1.099 GB, free: 1.441 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001233/1.193, allocations: 136.6 kB / 1.099 GB, free: 1.293 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000297/1.194, allocations: 0.5023 MB / 1.099 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/1.194, allocations: 81.7 kB / 1.099 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/1.194, allocations: 4.062 kB / 1.099 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/1.194, allocations: 11.91 kB / 1.099 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/1.194, allocations: 3.984 kB / 1.099 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/1.194, allocations: 5.812 kB / 1.099 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.441e-05/1.194, allocations: 79.98 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001099/1.195, allocations: 4 kB / 1.1 GB, free: 0.5703 MB / 0.698 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.0001363/1.195, allocations: 99.25 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.768e-05/1.195, allocations: 8 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.195, allocations: 0.6562 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.801e-05/1.195, allocations: 4 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/1.196, allocations: 0 / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002675/1.196, allocations: 60.67 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003421/1.196, allocations: 0.6929 MB / 1.1 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of SimCode: time 1.002e-06/1.196, allocations: 4 kB / 1.1 GB, free: 15.65 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign.fmu > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1)