Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow,fileNamePrefix="IDEAS_dev_IDEAS_Examples_TwinHouses_BaseClasses_Data_ValidationDataO5Exp1_Airflow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow,fileNamePrefix="IDEAS_dev_IDEAS_Examples_TwinHouses_BaseClasses_Data_ValidationDataO5Exp1_Airflow",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/Complex 4.0.0+maint.om/package.mo): time 0.00289/0.00289, allocations: 183.2 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.673/0.673, allocations: 133.5 MB / 141.4 MB, free: 15.62 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.641/1.641, allocations: 221.3 MB / 395 MB, free: 10.11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 102.1 kB / 477.8 MB, free: 10.7 MB / 394.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.585/0.5863, allocations: 88.43 MB / 0.5529 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.8099, allocations: 82.3 MB / 0.6333 GB, free: 13.83 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7447/1.555, allocations: 117.8 MB / 0.7483 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/1.555, allocations: 83.12 kB / 0.7484 GB, free: 10.73 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.04044/1.596, allocations: 12.37 MB / 0.7605 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/1.596, allocations: 9.375 kB / 0.7605 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005004/1.596, allocations: 58.41 kB / 0.7606 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/1.597, allocations: 464 kB / 0.761 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.64e-05/1.598, allocations: 11.38 kB / 0.761 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/1.598, allocations: 19.56 kB / 0.761 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005759/1.603, allocations: 2.966 MB / 0.7639 GB, free: 22.01 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/1.605, allocations: 499.9 kB / 0.7644 GB, free: 21.85 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/1.605, allocations: 7.891 kB / 0.7644 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.688e-05/1.605, allocations: 3.938 kB / 0.7644 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/1.605, allocations: 8 kB / 0.7644 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003133/1.608, allocations: 1.116 MB / 0.7655 GB, free: 21.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/1.609, allocations: 0.7084 MB / 0.7662 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004171/1.61, allocations: 212.7 kB / 0.7664 GB, free: 21.15 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/1.61, allocations: 16.77 kB / 0.7664 GB, free: 21.15 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006001/1.61, allocations: 310.6 kB / 0.7667 GB, free: 21.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 3.947e-06/1.61, allocations: 0 / 0.7667 GB, free: 21.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48): time 0.001585/1.612, allocations: 0.5708 MB / 0.7673 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.585e-05/1.612, allocations: 83.2 kB / 0.7674 GB, free: 20.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/1.613, allocations: 0.514 MB / 0.7679 GB, free: 20.65 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.626e-05/1.613, allocations: 38.27 kB / 0.7679 GB, free: 20.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/1.614, allocations: 170 kB / 0.7681 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/1.614, allocations: 175.3 kB / 0.7682 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/1.614, allocations: 0 / 0.7682 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002356/1.614, allocations: 358.7 kB / 0.7686 GB, free: 20.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/1.614, allocations: 202.4 kB / 0.7688 GB, free: 20.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004457/1.615, allocations: 251.8 kB / 0.769 GB, free: 19.96 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/1.615, allocations: 216.3 kB / 0.7692 GB, free: 19.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/1.615, allocations: 1.281 kB / 0.7692 GB, free: 19.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001604/1.617, allocations: 0.655 MB / 0.7699 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/1.617, allocations: 4.938 kB / 0.7699 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/1.617, allocations: 1.031 kB / 0.7699 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.947e-05/1.617, allocations: 1.531 kB / 0.7699 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/1.618, allocations: 102.7 kB / 0.77 GB, free: 19.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/1.618, allocations: 2.062 kB / 0.77 GB, free: 19.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/1.618, allocations: 24.81 kB / 0.77 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.517e-05/1.618, allocations: 22.45 kB / 0.77 GB, free: 19.75 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.CONTAMdata.nextTimeEvent,CONTAMdata.nextTimeEvent,$PRE.CONTAMdata.nextTimeEventScaled,CONTAMdata.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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 0.000194/1.618, allocations: 115.3 kB / 0.7701 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/1.619, allocations: 49.09 kB / 0.7702 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002368/1.621, allocations: 0.9638 MB / 0.7711 GB, free: 19.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/1.621, allocations: 10.91 kB / 0.7711 GB, free: 19.37 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/1.621, allocations: 0 / 0.7711 GB, free: 19.37 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/1.621, allocations: 3.984 kB / 0.7711 GB, free: 19.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009202/1.622, allocations: 0.5805 MB / 0.7717 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.622, allocations: 2.938 kB / 0.7717 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004902/1.622, allocations: 151.8 kB / 0.7718 GB, free: 19.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.45e-05/1.622, allocations: 2.75 kB / 0.7718 GB, free: 19.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.581e-05/1.623, allocations: 16.86 kB / 0.7718 GB, free: 19.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/1.623, allocations: 6.594 kB / 0.7719 GB, free: 19.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/1.623, allocations: 0 / 0.7719 GB, free: 19.02 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001447/1.624, allocations: 0.7938 MB / 0.7726 GB, free: 18.81 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001657/1.626, allocations: 1.174 MB / 0.7738 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/1.626, allocations: 157.3 kB / 0.7739 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/1.626, allocations: 21.34 kB / 0.7739 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/1.626, allocations: 2.406 kB / 0.774 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/1.627, allocations: 53.56 kB / 0.774 GB, free: 18.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/1.627, allocations: 34.36 kB / 0.774 GB, free: 18.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0008076/1.627, allocations: 411.7 kB / 0.7744 GB, free: 17.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001569/1.629, allocations: 147.3 kB / 0.7746 GB, free: 17.93 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,CONTAMdata.nextTimeEvent,CONTAMdata.nextTimeEventScaled) * Number of discrete states: 2 (CONTAMdata.nextTimeEvent,CONTAMdata.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001311/1.63, allocations: 361.8 kB / 0.7749 GB, free: 17.74 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001674/1.632, allocations: 0.5524 MB / 0.7755 GB, free: 17.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.632, allocations: 0.7188 kB / 0.7755 GB, free: 17.68 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000893/1.633, allocations: 355.4 kB / 0.7758 GB, free: 17.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006269/1.634, allocations: 49.56 kB / 0.7758 GB, free: 17.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/1.637, allocations: 0.8391 MB / 0.7767 GB, free: 17.31 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/1.639, allocations: 1.019 MB / 0.7777 GB, free: 16.35 MB / 0.5105 GB Notification: Performance of SimCode: time 2.023e-06/1.639, allocations: 0 / 0.7777 GB, free: 16.35 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe ; mkfifo IDEAS_dev_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe >> ../files/IDEAS_dev_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Examples_TwinHouses_BaseClasses_Data_ValidationDataO5Exp1_Airflow_fmu --startTime=1.5e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Examples_TwinHouses_BaseClasses_Data_ValidationDataO5Exp1_Airflow.fmu > IDEAS_dev_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe 2>&1)