Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.SimpleHouse.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.SimpleHouse,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_SimpleHouse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.081/2.081, allocations: 251 MB / 265.9 MB, free: 11.71 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001566/0.001566, allocations: 181.7 kB / 325.5 MB, free: 2.918 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.515/2.515, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.001505/0.001505, allocations: 108.5 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004885/0.0004886, allocations: 13.8 kB / 0.795 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2186, allocations: 106.3 MB / 0.8988 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.251/8.469, allocations: 2.528 GB / 3.427 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/8.47, allocations: 96.02 kB / 3.427 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 19.88/28.35, allocations: 3.608 GB / 7.035 GB, free: 90.37 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.334e-06/28.35, allocations: 0 / 7.035 GB, free: 90.37 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.001363/28.35, allocations: 181.3 kB / 7.035 GB, free: 90.34 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1200 * Number of variables: 1200 Notification: Performance of Generate backend data structure: time 0.03826/28.39, allocations: 8.208 MB / 7.043 GB, free: 87.1 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/28.39, allocations: 11.06 kB / 7.043 GB, free: 87.1 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00339/28.39, allocations: 0.6363 MB / 7.044 GB, free: 87.03 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02694/28.42, allocations: 2.615 MB / 7.046 GB, free: 86.62 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03614/28.46, allocations: 7.808 MB / 7.054 GB, free: 85.58 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007184/28.46, allocations: 378.4 kB / 7.054 GB, free: 85.57 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002584/28.46, allocations: 492.9 kB / 7.055 GB, free: 85.56 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02527/28.48, allocations: 5.995 MB / 7.061 GB, free: 84.77 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003797/28.48, allocations: 13.97 kB / 7.061 GB, free: 84.77 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002227/28.49, allocations: 202.9 kB / 7.061 GB, free: 84.77 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002773/28.49, allocations: 195.5 kB / 7.061 GB, free: 84.76 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02282/28.51, allocations: 5.506 MB / 7.066 GB, free: 84.71 MB / 1.026 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0702/28.58, allocations: 26.71 MB / 7.093 GB, free: 72.3 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01799/28.6, allocations: 4.203 MB / 7.097 GB, free: 72.22 MB / 1.026 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.03439/28.63, allocations: 8.061 MB / 7.105 GB, free: 70.67 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008387/28.64, allocations: 2.132 MB / 7.107 GB, free: 70.54 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005516/28.65, allocations: 487.6 kB / 7.107 GB, free: 70.38 MB / 1.026 GB Notification: Performance of pre-optimization done (n=298): time 2.566e-05/28.65, allocations: 0 / 7.107 GB, free: 70.38 MB / 1.026 GB Notification: Performance of matching and sorting (n=298): time 0.03327/28.68, allocations: 6.636 MB / 7.114 GB, free: 68.98 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001722/28.68, allocations: 447.7 kB / 7.114 GB, free: 68.48 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01485/28.7, allocations: 4.721 MB / 7.119 GB, free: 68.08 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001348/28.7, allocations: 94.52 kB / 7.119 GB, free: 68.05 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.005177/28.7, allocations: 2.998 MB / 7.122 GB, free: 67.15 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.002029/28.7, allocations: 1.008 MB / 7.123 GB, free: 66.5 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008118/28.7, allocations: 74.47 kB / 7.123 GB, free: 66.5 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0003709/28.71, allocations: 451.9 kB / 7.123 GB, free: 66.19 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007255/28.71, allocations: 1.635 MB / 7.125 GB, free: 66.18 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008902/28.72, allocations: 2.871 MB / 7.128 GB, free: 64.79 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00838/28.73, allocations: 2.024 MB / 7.129 GB, free: 64.74 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.223e-05/28.73, allocations: 9.688 kB / 7.129 GB, free: 64.74 MB / 1.026 GB Notification: Performance of matching and sorting (n=473) (initialization): time 0.02638/28.76, allocations: 5.421 MB / 7.135 GB, free: 64.27 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.003238/28.76, allocations: 13.36 MB / 7.148 GB, free: 50.61 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001622/28.76, allocations: 27.25 kB / 7.148 GB, free: 50.61 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006365/28.77, allocations: 0.6916 MB / 7.149 GB, free: 50.57 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007899/28.77, allocations: 0.8572 MB / 7.149 GB, free: 50.57 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/28.78, allocations: 5.789 MB / 7.155 GB, free: 46.46 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01097/28.8, allocations: 0.4893 MB / 7.156 GB, free: 46.43 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001429/28.8, allocations: 204.1 kB / 7.156 GB, free: 46.43 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/28.8, allocations: 6.156 kB / 7.156 GB, free: 46.43 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02225/28.82, allocations: 4.835 MB / 7.16 GB, free: 46.29 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001262/28.82, allocations: 30.39 kB / 7.16 GB, free: 46.29 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006203/28.83, allocations: 0.7142 MB / 7.161 GB, free: 46.25 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007463/28.83, allocations: 0.8358 MB / 7.162 GB, free: 46.25 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/28.84, allocations: 5.812 MB / 7.168 GB, free: 42.12 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00994/28.85, allocations: 476.7 kB / 7.168 GB, free: 42.09 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001341/28.86, allocations: 181.8 kB / 7.168 GB, free: 42.09 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.hysRad.y,hysRad.y,booleanToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (443): * Single equations (assignments): 434 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 2,1 2,2 9,3 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00664/28.86, allocations: 1.624 MB / 7.17 GB, free: 41.88 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002657/28.86, allocations: 0.5779 MB / 7.17 GB, free: 41.57 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0233/28.89, allocations: 4.812 MB / 7.175 GB, free: 41.25 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.415e-05/28.89, allocations: 33.03 kB / 7.175 GB, free: 41.25 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/28.89, allocations: 0 / 7.175 GB, free: 41.25 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01656/28.9, allocations: 3.738 MB / 7.179 GB, free: 40.93 MB / 1.026 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04048/28.95, allocations: 10.02 MB / 7.189 GB, free: 40.08 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.751e-05/28.95, allocations: 2.844 kB / 7.189 GB, free: 40.08 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00625/28.95, allocations: 0.6104 MB / 7.189 GB, free: 40.08 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003148/28.96, allocations: 487.9 kB / 7.19 GB, free: 40.01 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001013/28.96, allocations: 94.41 kB / 7.19 GB, free: 40.01 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01386/28.97, allocations: 11.7 MB / 7.201 GB, free: 30.16 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/28.97, allocations: 10.88 kB / 7.201 GB, free: 30.16 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02607/29, allocations: 7.237 MB / 7.208 GB, free: 28.64 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005563/29, allocations: 1.166 MB / 7.209 GB, free: 28.23 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002493/29, allocations: 69.64 kB / 7.209 GB, free: 28.23 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009347/29.01, allocations: 412.9 kB / 7.21 GB, free: 28.21 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001172/29.01, allocations: 241.6 kB / 7.21 GB, free: 28.2 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006735/29.02, allocations: 143.8 kB / 7.21 GB, free: 28.2 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.01112/29.03, allocations: 3.677 MB / 7.214 GB, free: 27.99 MB / 1.026 GB Notification: Performance of sort global known variables: time 4.51e-07/29.03, allocations: 0 / 7.214 GB, free: 27.99 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02194/29.05, allocations: 3.822 MB / 7.218 GB, free: 27.51 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (walCap.T,zone.dynBal.U,zone.dynBal.mXi[1],rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,vavDam.filter.x[1],vavDam.filter.x[2]) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,hysRad.y,booleanToInt.y) * Number of discrete states: 3 (weaDat.conTimMin.tNext,weaDat.conTim.tNext,hysRad.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (309): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {2 8,1 3,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.04122/29.09, allocations: 15.35 MB / 7.233 GB, free: 21.79 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.02871/29.12, allocations: 7.256 MB / 7.24 GB, free: 21.16 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-05/29.12, allocations: 3.844 kB / 7.24 GB, free: 21.16 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.008621/29.13, allocations: 2.772 MB / 7.242 GB, free: 20.36 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0233/29.15, allocations: 2.738 MB / 7.245 GB, free: 20.29 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05915/29.21, allocations: 36.82 MB / 7.281 GB, free: 8.785 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008462/29.22, allocations: 3.801 MB / 7.285 GB, free: 7.93 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.01693/29.24, allocations: 2.017 MB / 7.287 GB, free: 7.664 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00838/29.24, allocations: 2.814 MB / 7.289 GB, free: 7.656 MB / 1.042 GB Notification: Performance of SimCode: time 1.383e-06/29.24, allocations: 3.781 kB / 7.289 GB, free: 7.656 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.526/30.77, allocations: 233.5 MB / 7.517 GB, free: 111.1 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000275/30.77, allocations: 242.7 kB / 7.518 GB, free: 110.8 MB / 1.057 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_Examples_SimpleHouse.o Buildings_7_0_0_Buildings_Fluid_Examples_SimpleHouse.c In file included from Buildings_7_0_0_Buildings_Fluid_Examples_SimpleHouse.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_Examples_SimpleHouse_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_Examples_SimpleHouse_functions.o Buildings_7_0_0_Buildings_Fluid_Examples_SimpleHouse_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_Examples_SimpleHouse_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Fluid_Examples_SimpleHouse_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_7_0_0_Buildings_Fluid_Examples_SimpleHouse_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_Examples_SimpleHouse_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources/getTimeSpan.c:6:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_7_0_0_Buildings_Fluid_Examples_SimpleHouse_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_Examples_SimpleHouse_functions.o] Error 1