Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",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 10.0.0-master/package.mo): time 1.746/1.746, allocations: 390.4 MB / 397.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009509/0.0009508, allocations: 184 kB / 490.8 MB, free: 11.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.111/1.111, allocations: 221.4 MB / 0.7863 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008201/0.0008201, allocations: 104.2 kB / 0.9264 GB, free: 4.562 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2404/0.2412, allocations: 149.2 MB / 1.072 GB, free: 15.46 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5165/0.7577, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1404/0.8982, allocations: 150.4 MB / 1.359 GB, free: 41.22 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001702/0.8984, allocations: 79.94 kB / 1.359 GB, free: 41.14 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.01503/0.9134, allocations: 7 MB / 1.365 GB, free: 34.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.9135, allocations: 8 kB / 1.365 GB, free: 34.19 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.437e-05/0.9136, allocations: 48.12 kB / 1.366 GB, free: 34.14 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.9139, allocations: 325.8 kB / 1.366 GB, free: 33.78 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.914, allocations: 13.62 kB / 1.366 GB, free: 33.77 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/0.914, allocations: 20 kB / 1.366 GB, free: 33.75 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003521/0.9144, allocations: 217.5 kB / 1.366 GB, free: 33.54 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.9148, allocations: 307.3 kB / 1.366 GB, free: 33.22 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.9148, allocations: 4.625 kB / 1.366 GB, free: 33.22 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.9148, allocations: 0 / 1.366 GB, free: 33.22 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.9148, allocations: 12.5 kB / 1.366 GB, free: 33.21 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.9161, allocations: 1.17 MB / 1.368 GB, free: 32 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.9165, allocations: 194.4 kB / 1.368 GB, free: 31.81 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.9166, allocations: 130.2 kB / 1.368 GB, free: 31.68 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.9167, allocations: 0.8906 kB / 1.368 GB, free: 31.68 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.9168, allocations: 157.8 kB / 1.368 GB, free: 31.51 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=28): time 1.433e-06/0.9169, allocations: 0.5 kB / 1.368 GB, free: 31.51 MB / 0.8855 GB Notification: Performance of matching and sorting (n=28): time 0.0003276/0.9172, allocations: 209.8 kB / 1.368 GB, free: 31.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.9172, allocations: 137.6 kB / 1.368 GB, free: 31.13 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.9174, allocations: 247.4 kB / 1.369 GB, free: 30.88 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.9175, allocations: 30.48 kB / 1.369 GB, free: 30.85 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.9175, allocations: 195.8 kB / 1.369 GB, free: 30.65 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.9176, allocations: 91.36 kB / 1.369 GB, free: 30.56 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/0.9176, allocations: 0 / 1.369 GB, free: 30.56 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.701e-05/0.9176, allocations: 339.9 kB / 1.369 GB, free: 30.22 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.9178, allocations: 88.41 kB / 1.369 GB, free: 30.14 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.9179, allocations: 161.2 kB / 1.369 GB, free: 29.95 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.9181, allocations: 105.7 kB / 1.37 GB, free: 29.85 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.9181, allocations: 8.531 kB / 1.37 GB, free: 29.84 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000361/0.9184, allocations: 277.9 kB / 1.37 GB, free: 29.57 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.98e-05/0.9185, allocations: 452.6 kB / 1.37 GB, free: 29.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.9185, allocations: 4.531 kB / 1.37 GB, free: 29.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.9185, allocations: 0 / 1.37 GB, free: 29.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/0.9189, allocations: 81.77 kB / 1.37 GB, free: 29.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.9189, allocations: 4.844 kB / 1.37 GB, free: 29.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.9191, allocations: 47.12 kB / 1.37 GB, free: 28.97 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.9191, allocations: 8 kB / 1.37 GB, free: 28.96 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.941e-06/0.9191, allocations: 4.656 kB / 1.37 GB, free: 28.96 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002871/0.9194, allocations: 219.8 kB / 1.371 GB, free: 28.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/0.9194, allocations: 4.562 kB / 1.371 GB, free: 28.74 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.969e-06/0.9195, allocations: 4.969 kB / 1.371 GB, free: 28.74 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.9197, allocations: 63.91 kB / 1.371 GB, free: 28.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.9197, allocations: 0 / 1.371 GB, free: 28.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.9199, allocations: 37.11 kB / 1.371 GB, free: 28.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.9199, allocations: 8 kB / 1.371 GB, free: 28.63 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.378e-05/0.92, allocations: 123.2 kB / 1.371 GB, free: 28.51 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.92, allocations: 23.72 kB / 1.371 GB, free: 28.48 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.9203, allocations: 223.4 kB / 1.371 GB, free: 28.26 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.9204, allocations: 4 kB / 1.371 GB, free: 28.25 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.9204, allocations: 6.375 kB / 1.371 GB, free: 28.25 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.9204, allocations: 11.89 kB / 1.371 GB, free: 28.24 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.9214, allocations: 0.9461 MB / 1.372 GB, free: 27.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.9214, allocations: 8.031 kB / 1.372 GB, free: 27.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.9217, allocations: 59.91 kB / 1.372 GB, free: 27.14 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.9217, allocations: 11.89 kB / 1.372 GB, free: 27.13 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.9217, allocations: 4 kB / 1.372 GB, free: 27.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.9217, allocations: 8 kB / 1.372 GB, free: 27.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.9217, allocations: 7.938 kB / 1.372 GB, free: 27.11 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004723/0.9222, allocations: 0.7344 MB / 1.373 GB, free: 26.23 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005942/0.9228, allocations: 1.205 MB / 1.374 GB, free: 24.88 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/0.9229, allocations: 108.7 kB / 1.374 GB, free: 24.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.9229, allocations: 16.14 kB / 1.374 GB, free: 24.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.9232, allocations: 23.98 kB / 1.374 GB, free: 24.72 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.9232, allocations: 23.89 kB / 1.374 GB, free: 24.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.9232, allocations: 15.98 kB / 1.374 GB, free: 24.68 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.000138/0.9234, allocations: 195.1 kB / 1.374 GB, free: 24.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001542/0.9249, allocations: 119.3 kB / 1.374 GB, free: 24.38 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.0001263/0.9251, allocations: 123.3 kB / 1.375 GB, free: 24.25 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004425/0.9255, allocations: 345.7 kB / 1.375 GB, free: 23.91 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9255, allocations: 4 kB / 1.375 GB, free: 23.91 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.9256, allocations: 101 kB / 1.375 GB, free: 23.81 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.9261, allocations: 66.19 kB / 1.375 GB, free: 23.75 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.9271, allocations: 0.5848 MB / 1.376 GB, free: 23.09 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.9274, allocations: 0.8538 MB / 1.376 GB, free: 22.22 MB / 0.8855 GB Notification: Performance of SimCode: time 2.61e-07/0.9274, allocations: 4 kB / 1.376 GB, free: 22.21 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1)