Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",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/BuildingSystems 2.0.0-master/package.mo): time 0.7858/0.7858, allocations: 141.8 MB / 149.1 MB, free: 14.69 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 177.4 kB / 182 MB, free: 11.45 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 221.3 MB / 436.1 MB, free: 1.023 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009779/0.000978, allocations: 102.6 kB / 0.507 GB, free: 9.922 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00173/0.00173, allocations: 278.8 kB / 0.5885 GB, free: 6.75 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1644/0.1662, allocations: 89.65 MB / 0.676 GB, free: 13.01 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.4957, allocations: 82.75 MB / 0.7568 GB, free: 137.9 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.113/0.6088, allocations: 110.8 MB / 0.865 GB, free: 27 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.609, allocations: 87.94 kB / 0.8651 GB, free: 26.91 MB / 0.5575 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.01224/0.6213, allocations: 5.719 MB / 0.8707 GB, free: 21.11 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.6213, allocations: 9.25 kB / 0.8707 GB, free: 21.11 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.6214, allocations: 23.72 kB / 0.8707 GB, free: 21.08 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.6215, allocations: 210.1 kB / 0.8709 GB, free: 20.84 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.6215, allocations: 0 / 0.8709 GB, free: 20.84 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.6216, allocations: 0 / 0.8709 GB, free: 20.84 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.963e-05/0.6217, allocations: 47.97 kB / 0.8709 GB, free: 20.79 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.285e-05/0.6218, allocations: 61.66 kB / 0.871 GB, free: 20.72 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.6218, allocations: 0 / 0.871 GB, free: 20.72 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.6218, allocations: 0 / 0.871 GB, free: 20.72 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.6218, allocations: 0 / 0.871 GB, free: 20.72 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.6222, allocations: 325.3 kB / 0.8713 GB, free: 20.37 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.871e-05/0.6223, allocations: 62.55 kB / 0.8714 GB, free: 20.3 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.837e-05/0.6224, allocations: 28.91 kB / 0.8714 GB, free: 20.27 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.035e-05/0.6224, allocations: 11.98 kB / 0.8714 GB, free: 20.25 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.142e-05/0.6224, allocations: 34.56 kB / 0.8714 GB, free: 20.21 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6224, allocations: 4 kB / 0.8714 GB, free: 20.21 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2): time 0.0002207/0.6227, allocations: 97.31 kB / 0.8715 GB, free: 20.11 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.545e-05/0.6227, allocations: 51.41 kB / 0.8716 GB, free: 20.04 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.6228, allocations: 217.1 kB / 0.8718 GB, free: 19.83 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.6229, allocations: 25.7 kB / 0.8718 GB, free: 19.8 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 2.848e-05/0.6229, allocations: 100.1 kB / 0.8719 GB, free: 19.7 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.6229, allocations: 11.89 kB / 0.8719 GB, free: 19.68 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-06/0.6229, allocations: 0 / 0.8719 GB, free: 19.68 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.623, allocations: 334.9 kB / 0.8722 GB, free: 19.35 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.063e-05/0.623, allocations: 19.98 kB / 0.8723 GB, free: 19.33 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.903e-05/0.6231, allocations: 23.98 kB / 0.8723 GB, free: 19.3 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.086e-05/0.6231, allocations: 27.97 kB / 0.8723 GB, free: 19.28 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.6231, allocations: 3.938 kB / 0.8723 GB, free: 19.27 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001288/0.6233, allocations: 93.39 kB / 0.8724 GB, free: 19.18 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.6233, allocations: 4 kB / 0.8724 GB, free: 19.17 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.6233, allocations: 0 / 0.8724 GB, free: 19.17 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.6233, allocations: 7.984 kB / 0.8724 GB, free: 19.16 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.457e-05/0.6234, allocations: 16.08 kB / 0.8724 GB, free: 19.15 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.6234, allocations: 3.938 kB / 0.8724 GB, free: 19.14 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.481e-05/0.6235, allocations: 11.98 kB / 0.8724 GB, free: 19.13 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.6235, allocations: 4 kB / 0.8725 GB, free: 19.13 MB / 0.5575 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 (2): * Single equations (assignments): 2 * 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 4.07e-05/0.6236, allocations: 108.9 kB / 0.8726 GB, free: 19.02 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.6236, allocations: 15.81 kB / 0.8726 GB, free: 19 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.6238, allocations: 125 kB / 0.8727 GB, free: 18.88 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.6238, allocations: 7.922 kB / 0.8727 GB, free: 18.87 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.6238, allocations: 0 / 0.8727 GB, free: 18.87 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.6238, allocations: 0 / 0.8727 GB, free: 18.87 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.624, allocations: 202.2 kB / 0.8729 GB, free: 18.64 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.624, allocations: 0 / 0.8729 GB, free: 18.64 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.098e-05/0.6241, allocations: 16.02 kB / 0.8729 GB, free: 18.62 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6241, allocations: 0 / 0.8729 GB, free: 18.62 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.6241, allocations: 4 kB / 0.8729 GB, free: 18.62 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.6241, allocations: 0 / 0.8729 GB, free: 18.62 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6241, allocations: 3.906 kB / 0.8729 GB, free: 18.61 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000145/0.6243, allocations: 191.3 kB / 0.8731 GB, free: 18.41 MB / 0.5575 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001717/0.6245, allocations: 0.5622 MB / 0.8736 GB, free: 17.83 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.6245, allocations: 92.83 kB / 0.8737 GB, free: 17.72 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.6245, allocations: 4 kB / 0.8737 GB, free: 17.71 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.6246, allocations: 15.98 kB / 0.8738 GB, free: 17.7 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.6247, allocations: 8.031 kB / 0.8738 GB, free: 17.69 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.6247, allocations: 0 / 0.8738 GB, free: 17.69 MB / 0.5575 GB Notification: Performance of sort global known variables: time 0.0001041/0.6248, allocations: 181.2 kB / 0.8739 GB, free: 17.51 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0008295/0.6256, allocations: 63.78 kB / 0.874 GB, free: 17.45 MB / 0.5575 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 (2): * Single equations (assignments): 2 * 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.0002257/0.6259, allocations: 179.1 kB / 0.8742 GB, free: 17.27 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 8.947e-05/0.626, allocations: 35.98 kB / 0.8742 GB, free: 17.23 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.626, allocations: 4 kB / 0.8742 GB, free: 17.23 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 2.733e-05/0.626, allocations: 12 kB / 0.8742 GB, free: 17.21 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.6263, allocations: 44.86 kB / 0.8743 GB, free: 17.18 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.6267, allocations: 212.7 kB / 0.8745 GB, free: 16.94 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.6269, allocations: 0.7503 MB / 0.8752 GB, free: 16.16 MB / 0.5575 GB Notification: Performance of SimCode: time 2.81e-07/0.6269, allocations: 0 / 0.8752 GB, free: 16.16 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1)