Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.792/1.792, allocations: 292.6 MB / 307.5 MB, free: 5.109 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001223/0.001224, allocations: 189 kB / 377.1 MB, free: 1.445 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.929/1.929, allocations: 205.4 MB / 0.6366 GB, free: 8.586 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 92.69 kB / 0.7509 GB, free: 63.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003989, allocations: 12 kB / 0.8749 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3537, allocations: 116.3 MB / 0.9884 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.001/6.355, allocations: 2.075 GB / 3.064 GB, free: 106.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/6.355, allocations: 91.52 kB / 3.064 GB, free: 106.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1819/6.537, allocations: 82.54 MB / 3.144 GB, free: 24.76 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.517e-06/6.537, allocations: 0 / 3.144 GB, free: 24.76 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.176e-05/6.537, allocations: 28 kB / 3.144 GB, free: 24.73 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.00291/6.54, allocations: 1.436 MB / 3.146 GB, free: 23.24 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/6.54, allocations: 8.031 kB / 3.146 GB, free: 23.23 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002131/6.541, allocations: 181.6 kB / 3.146 GB, free: 23.05 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009333/6.542, allocations: 238 kB / 3.146 GB, free: 22.81 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/6.543, allocations: 0.7444 MB / 3.147 GB, free: 22.02 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/6.543, allocations: 120.1 kB / 3.147 GB, free: 21.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/6.543, allocations: 112 kB / 3.147 GB, free: 21.79 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/6.545, allocations: 1.242 MB / 3.148 GB, free: 20.48 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/6.545, allocations: 4 kB / 3.148 GB, free: 20.48 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/6.545, allocations: 52 kB / 3.149 GB, free: 20.43 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/6.545, allocations: 31.95 kB / 3.149 GB, free: 20.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/6.547, allocations: 1.363 MB / 3.15 GB, free: 19.03 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005008/6.552, allocations: 3.354 MB / 3.153 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/6.553, allocations: 0.9077 MB / 3.154 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-05/6.553, allocations: 44.86 kB / 3.154 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008564/6.554, allocations: 0.5515 MB / 3.155 GB, free: 14.07 MB / 0.948 GB Notification: Performance of pre-optimization done (n=93): time 2.845e-06/6.554, allocations: 0 / 3.155 GB, free: 14.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=93): time 0.003141/6.557, allocations: 1.393 MB / 3.156 GB, free: 12.65 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.641e-05/6.557, allocations: 248.3 kB / 3.156 GB, free: 12.36 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007839/6.558, allocations: 0.7032 MB / 3.157 GB, free: 11.64 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.809e-05/6.558, allocations: 41.7 kB / 3.157 GB, free: 11.59 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/6.559, allocations: 0.5115 MB / 3.157 GB, free: 11.07 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/6.559, allocations: 303.5 kB / 3.158 GB, free: 10.77 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/6.559, allocations: 16 kB / 3.158 GB, free: 10.76 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.28e-05/6.559, allocations: 349.9 kB / 3.158 GB, free: 10.41 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004861/6.56, allocations: 301.8 kB / 3.158 GB, free: 10.12 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005879/6.56, allocations: 436.2 kB / 3.159 GB, free: 9.656 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005893/6.561, allocations: 374.8 kB / 3.159 GB, free: 9.293 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/6.561, allocations: 4 kB / 3.159 GB, free: 9.289 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001889/6.563, allocations: 0.9775 MB / 3.16 GB, free: 8.301 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/6.563, allocations: 10.61 kB / 3.16 GB, free: 8.293 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/6.563, allocations: 0 / 3.16 GB, free: 8.293 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006283/6.563, allocations: 88.78 kB / 3.16 GB, free: 8.203 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007843/6.564, allocations: 183.8 kB / 3.16 GB, free: 8.023 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/6.566, allocations: 1.552 MB / 3.162 GB, free: 6.328 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007365/6.567, allocations: 95.22 kB / 3.162 GB, free: 6.234 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.058e-05/6.567, allocations: 44.03 kB / 3.162 GB, free: 6.191 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 101 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005487/6.567, allocations: 293.7 kB / 3.162 GB, free: 5.895 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/6.567, allocations: 102.7 kB / 3.162 GB, free: 5.793 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/6.57, allocations: 1.305 MB / 3.164 GB, free: 4.477 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/6.57, allocations: 8 kB / 3.164 GB, free: 4.469 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/6.57, allocations: 4 kB / 3.164 GB, free: 4.465 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/6.57, allocations: 7.969 kB / 3.164 GB, free: 4.457 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003714/6.574, allocations: 2.462 MB / 3.166 GB, free: 1.934 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/6.574, allocations: 0 / 3.166 GB, free: 1.934 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007431/6.575, allocations: 187.7 kB / 3.166 GB, free: 1.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005156/6.575, allocations: 84.77 kB / 3.166 GB, free: 1.664 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.384e-05/6.575, allocations: 23.98 kB / 3.166 GB, free: 1.641 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7223/7.297, allocations: 1.57 MB / 3.168 GB, free: 244.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/7.298, allocations: 0 / 3.168 GB, free: 244.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/7.3, allocations: 1.114 MB / 3.169 GB, free: 244.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006695/7.301, allocations: 350.7 kB / 3.169 GB, free: 244.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/7.301, allocations: 22.16 kB / 3.169 GB, free: 244.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007585/7.302, allocations: 74.36 kB / 3.169 GB, free: 244.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/7.302, allocations: 77.19 kB / 3.169 GB, free: 244.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.499e-05/7.302, allocations: 41.09 kB / 3.17 GB, free: 244.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00092/7.303, allocations: 0.5826 MB / 3.17 GB, free: 244.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/7.303, allocations: 0 / 3.17 GB, free: 244.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001488/7.305, allocations: 419.6 kB / 3.17 GB, free: 244.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00446/7.309, allocations: 2.584 MB / 3.173 GB, free: 243.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001967/7.311, allocations: 0.9335 MB / 3.174 GB, free: 243.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/7.311, allocations: 2.281 kB / 3.174 GB, free: 243.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/7.312, allocations: 0.5814 MB / 3.175 GB, free: 243 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/7.314, allocations: 255.8 kB / 3.175 GB, free: 243 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006254/7.32, allocations: 3.835 MB / 3.178 GB, free: 241 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006124/7.321, allocations: 1.141 MB / 3.18 GB, free: 240.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001139/7.322, allocations: 310.2 kB / 3.18 GB, free: 240.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007189/7.322, allocations: 497.7 kB / 3.18 GB, free: 240.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.633e-06/7.322, allocations: 0 / 3.18 GB, free: 240.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07536/7.398, allocations: 33.37 MB / 3.213 GB, free: 238.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/7.398, allocations: 272.9 kB / 3.213 GB, free: 238 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_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 -falign-functions -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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_functions.o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_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_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_functions.o] Error 1