Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",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.7162/0.7162, allocations: 141.8 MB / 149.1 MB, free: 4.379 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 185 kB / 181.9 MB, free: 64 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 221.3 MB / 436 MB, free: 9.328 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.001011/0.001011, allocations: 98.53 kB / 0.507 GB, free: 24.15 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001803/0.001803, allocations: 276.1 kB / 0.5884 GB, free: 12.25 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1694/0.1713, allocations: 89.64 MB / 0.676 GB, free: 2.527 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.4968, allocations: 82.76 MB / 0.7568 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.6097, allocations: 111.6 MB / 0.8658 GB, free: 0.9922 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.61, allocations: 87.94 kB / 0.8659 GB, free: 0.9102 MB / 0.5263 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.01559/0.6256, allocations: 6.326 MB / 0.8721 GB, free: 10.51 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.6257, allocations: 11.98 kB / 0.8721 GB, free: 10.5 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.762e-05/0.6258, allocations: 19.72 kB / 0.8721 GB, free: 10.48 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.6259, allocations: 210.1 kB / 0.8723 GB, free: 10.23 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.626, allocations: 0 / 0.8723 GB, free: 10.23 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.626, allocations: 0 / 0.8723 GB, free: 10.23 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001842/0.6262, allocations: 99.86 kB / 0.8724 GB, free: 10.14 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.6263, allocations: 85.64 kB / 0.8725 GB, free: 10.05 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.6263, allocations: 4 kB / 0.8725 GB, free: 10.04 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.6264, allocations: 0 / 0.8725 GB, free: 10.04 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.6264, allocations: 0 / 0.8725 GB, free: 10.04 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006312/0.627, allocations: 377.3 kB / 0.8729 GB, free: 9.637 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.6272, allocations: 110.5 kB / 0.873 GB, free: 9.52 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.719e-05/0.6272, allocations: 60.81 kB / 0.873 GB, free: 9.457 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-05/0.6273, allocations: 27.97 kB / 0.8731 GB, free: 9.43 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.6273, allocations: 30.56 kB / 0.8731 GB, free: 9.391 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.6273, allocations: 0 / 0.8731 GB, free: 9.391 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0003292/0.6277, allocations: 157.3 kB / 0.8732 GB, free: 9.23 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.6277, allocations: 51.41 kB / 0.8733 GB, free: 9.168 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.6279, allocations: 217.1 kB / 0.8735 GB, free: 8.953 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.6279, allocations: 25.7 kB / 0.8735 GB, free: 8.922 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.628, allocations: 104.1 kB / 0.8736 GB, free: 8.816 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.628, allocations: 4.844 kB / 0.8736 GB, free: 8.812 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.628, allocations: 0 / 0.8736 GB, free: 8.812 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.6281, allocations: 334.8 kB / 0.8739 GB, free: 8.477 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.599e-05/0.6282, allocations: 52 kB / 0.874 GB, free: 8.426 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.975e-05/0.6283, allocations: 47.95 kB / 0.874 GB, free: 8.379 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.6284, allocations: 47.97 kB / 0.8741 GB, free: 8.332 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6284, allocations: 7.875 kB / 0.8741 GB, free: 8.324 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002406/0.6286, allocations: 153.3 kB / 0.8742 GB, free: 8.168 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.6287, allocations: 4 kB / 0.8742 GB, free: 8.164 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6287, allocations: 0 / 0.8742 GB, free: 8.164 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.6287, allocations: 0.8438 kB / 0.8742 GB, free: 8.164 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.6288, allocations: 20.08 kB / 0.8743 GB, free: 8.145 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.6288, allocations: 4 kB / 0.8743 GB, free: 8.141 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.302e-05/0.6289, allocations: 7.984 kB / 0.8743 GB, free: 8.133 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.629, allocations: 8 kB / 0.8743 GB, free: 8.125 MB / 0.5419 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 0.0001155/0.6291, allocations: 104.9 kB / 0.8744 GB, free: 8.016 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.6291, allocations: 19.81 kB / 0.8744 GB, free: 7.996 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004152/0.6296, allocations: 225.7 kB / 0.8746 GB, free: 7.777 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.6296, allocations: 7.906 kB / 0.8746 GB, free: 7.77 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.6296, allocations: 7.094 kB / 0.8746 GB, free: 7.766 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.6296, allocations: 0 / 0.8746 GB, free: 7.766 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.6298, allocations: 218.1 kB / 0.8748 GB, free: 7.516 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.6298, allocations: 0 / 0.8748 GB, free: 7.516 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.003e-05/0.6299, allocations: 19.98 kB / 0.8749 GB, free: 7.496 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.6299, allocations: 0 / 0.8749 GB, free: 7.496 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.63, allocations: 7.984 kB / 0.8749 GB, free: 7.488 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.63, allocations: 0 / 0.8749 GB, free: 7.488 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.63, allocations: 3.906 kB / 0.8749 GB, free: 7.484 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002782/0.6303, allocations: 243.3 kB / 0.8751 GB, free: 7.23 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003743/0.6306, allocations: 0.6323 MB / 0.8757 GB, free: 6.578 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.6307, allocations: 88.92 kB / 0.8758 GB, free: 6.473 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.6307, allocations: 7.984 kB / 0.8758 GB, free: 6.465 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.6309, allocations: 4 kB / 0.8758 GB, free: 6.461 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.6309, allocations: 7.984 kB / 0.8758 GB, free: 6.453 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.6309, allocations: 7.906 kB / 0.8758 GB, free: 6.445 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0001339/0.6311, allocations: 181.2 kB / 0.876 GB, free: 6.266 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0009083/0.632, allocations: 87.8 kB / 0.8761 GB, free: 6.18 MB / 0.5419 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 (3): * Single equations (assignments): 3 * 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.0003618/0.6324, allocations: 187.1 kB / 0.8763 GB, free: 5.988 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001406/0.6325, allocations: 87.95 kB / 0.8763 GB, free: 5.902 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6325, allocations: 0 / 0.8763 GB, free: 5.902 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 5.22e-05/0.6326, allocations: 43.92 kB / 0.8764 GB, free: 5.859 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.6329, allocations: 33.25 kB / 0.8764 GB, free: 5.828 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004575/0.6334, allocations: 236.8 kB / 0.8766 GB, free: 5.57 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/0.6337, allocations: 0.7525 MB / 0.8774 GB, free: 4.793 MB / 0.5419 GB Notification: Performance of SimCode: time 2.5e-07/0.6337, allocations: 0 / 0.8774 GB, free: 4.793 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1)