Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_ChangeSign",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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 7.0.3-maint.7.0.x/package.mo): time 1.281/1.281, allocations: 249.4 MB / 256.7 MB, free: 6.988 MB / 202.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: 181.3 kB / 316 MB, free: 3.551 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.186/1.186, allocations: 205.2 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008429/0.0008429, allocations: 82.28 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3328/0.3336, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.4917, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4639/0.9556, allocations: 131.6 MB / 1.013 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001787/0.9558, allocations: 77.53 kB / 1.013 GB, free: 6.91 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.00164/0.9574, allocations: 0.6254 MB / 1.014 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.9575, allocations: 11.98 kB / 1.014 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.9575, allocations: 8 kB / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.9576, allocations: 163 kB / 1.014 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.9576, allocations: 0 / 1.014 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.9577, allocations: 4 kB / 1.014 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.284e-05/0.9577, allocations: 7.188 kB / 1.014 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.666e-05/0.9578, allocations: 36.88 kB / 1.014 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.9578, allocations: 0 / 1.014 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.9578, allocations: 0 / 1.014 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.9578, allocations: 0 / 1.014 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.9582, allocations: 248.3 kB / 1.014 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.909e-05/0.9583, allocations: 18.58 kB / 1.014 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.425e-05/0.9583, allocations: 16.73 kB / 1.014 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-06/0.9583, allocations: 0 / 1.014 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.9583, allocations: 30.56 kB / 1.014 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.9584, allocations: 0 / 1.014 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000135/0.9585, allocations: 45.2 kB / 1.014 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.9585, allocations: 51.41 kB / 1.014 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.446e-05/0.9586, allocations: 92.98 kB / 1.015 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.9586, allocations: 32.22 kB / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.9587, allocations: 88.33 kB / 1.015 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.9587, allocations: 0 / 1.015 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.9587, allocations: 0 / 1.015 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.9588, allocations: 318.7 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.247e-05/0.9588, allocations: 4 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-06/0.9588, allocations: 3.062 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.304e-05/0.9589, allocations: 4 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.9589, allocations: 0 / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.526e-05/0.9589, allocations: 40.77 kB / 1.015 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/0.9589, allocations: 7.938 kB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.959, allocations: 0 / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.727e-06/0.959, allocations: 0 / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.228e-05/0.9591, allocations: 15.92 kB / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.656e-06/0.9591, allocations: 0 / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.481e-05/0.9591, allocations: 15.97 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.9591, allocations: 0 / 1.015 GB, free: 4.93 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 5.827e-05/0.9592, allocations: 108.9 kB / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.9592, allocations: 0 / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.9593, allocations: 13.86 kB / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.9593, allocations: 0 / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.9593, allocations: 0 / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.9593, allocations: 0 / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.9594, allocations: 149.6 kB / 1.015 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.9594, allocations: 4 kB / 1.015 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.797e-05/0.9595, allocations: 11.98 kB / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.9595, allocations: 0 / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.9595, allocations: 0 / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.9595, allocations: 0 / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.9595, allocations: 0.5469 kB / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.302e-05/0.9596, allocations: 138.8 kB / 1.015 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001851/0.9598, allocations: 0.4953 MB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.9599, allocations: 85.02 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.9599, allocations: 0 / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.678e-05/0.96, allocations: 12.05 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.96, allocations: 7.375 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.96, allocations: 0 / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.032e-05/0.96, allocations: 83.27 kB / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007438/0.9608, allocations: 0 / 1.016 GB, free: 3.758 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.0001348/0.9609, allocations: 103.2 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.284e-05/0.961, allocations: 11.5 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.961, allocations: 6.562 kB / 1.016 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.566e-05/0.961, allocations: 3.938 kB / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.9612, allocations: 7.625 kB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001856/0.9614, allocations: 55.78 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/0.9616, allocations: 0.6841 MB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/0.9617, allocations: 0 / 1.017 GB, free: 2.836 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_ChangeSign_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_ChangeSign.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1)